home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_xemacs.idb / usr / freeware / lib / xemacs-20.4 / lisp / pcl-cvs / cookie.elc.z / cookie.elc
Emacs Compiled Lisp  |  1998-05-21  |  22.8 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
100% file Emacs/XEmacs v20 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 14 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 6a 75 73 74 69 6e 62 |piled by| justinb|
|00000020| 40 65 62 6f 6e 79 2e 63 | 72 61 79 2e 63 6f 6d 20 |@ebony.c|ray.com |
|00000030| 6f 6e 20 4d 6f 6e 20 4d | 61 72 20 20 39 20 31 32 |on Mon M|ar 9 12|
|00000040| 3a 35 33 3a 34 36 20 31 | 39 39 38 0a 3b 3b 3b 20 |:53:46 1|998.;;; |
|00000050| 66 72 6f 6d 20 66 69 6c | 65 20 2f 68 6f 6d 65 2f |from fil|e /home/|
|00000060| 61 73 70 65 6e 30 37 2f | 6a 75 73 74 69 6e 62 2f |aspen07/|justinb/|
|00000070| 72 6f 6f 74 73 2f 66 72 | 65 65 77 61 72 65 2f 78 |roots/fr|eeware/x|
|00000080| 65 6d 61 63 73 2f 32 30 | 2e 33 2f 78 65 6d 61 63 |emacs/20|.3/xemac|
|00000090| 73 2d 32 30 2e 33 2f 6c | 69 73 70 2f 70 63 6c 2d |s-20.3/l|isp/pcl-|
|000000a0| 63 76 73 2f 63 6f 6f 6b | 69 65 2e 65 6c 0a 3b 3b |cvs/cook|ie.el.;;|
|000000b0| 3b 20 65 6d 61 63 73 20 | 76 65 72 73 69 6f 6e 20 |; emacs |version |
|000000c0| 32 30 2e 34 20 22 45 6d | 65 72 61 6c 64 22 20 58 |20.4 "Em|erald" X|
|000000d0| 45 6d 61 63 73 20 20 4c | 75 63 69 64 2e 0a 3b 3b |Emacs L|ucid..;;|
|000000e0| 3b 20 62 79 74 65 63 6f | 6d 70 20 76 65 72 73 69 |; byteco|mp versi|
|000000f0| 6f 6e 20 32 2e 32 35 20 | 58 45 6d 61 63 73 3b 20 |on 2.25 |XEmacs; |
|00000100| 32 32 2d 4d 61 72 2d 39 | 36 2e 0a 3b 3b 3b 20 6f |22-Mar-9|6..;;; o|
|00000110| 70 74 69 6d 69 7a 61 74 | 69 6f 6e 20 69 73 20 6f |ptimizat|ion is o|
|00000120| 6e 2e 0a 3b 3b 3b 20 74 | 68 69 73 20 66 69 6c 65 |n..;;; t|his file|
|00000130| 20 75 73 65 73 20 6f 70 | 63 6f 64 65 73 20 77 68 | uses op|codes wh|
|00000140| 69 63 68 20 64 6f 20 6e | 6f 74 20 65 78 69 73 74 |ich do n|ot exist|
|00000150| 20 69 6e 20 45 6d 61 63 | 73 20 31 39 2e 0a 0a 28 | in Emac|s 19...(|
|00000160| 69 66 20 28 61 6e 64 20 | 28 62 6f 75 6e 64 70 20 |if (and |(boundp |
|00000170| 27 65 6d 61 63 73 2d 76 | 65 72 73 69 6f 6e 29 0a |'emacs-v|ersion).|
|00000180| 09 20 28 6f 72 20 28 61 | 6e 64 20 28 62 6f 75 6e |. (or (a|nd (boun|
|00000190| 64 70 20 27 65 70 6f 63 | 68 3a 3a 76 65 72 73 69 |dp 'epoc|h::versi|
|000001a0| 6f 6e 29 20 65 70 6f 63 | 68 3a 3a 76 65 72 73 69 |on) epoc|h::versi|
|000001b0| 6f 6e 29 0a 09 20 20 20 | 20 20 28 73 74 72 69 6e |on).. | (strin|
|000001c0| 67 2d 6c 65 73 73 70 20 | 65 6d 61 63 73 2d 76 65 |g-lessp |emacs-ve|
|000001d0| 72 73 69 6f 6e 20 22 32 | 30 22 29 29 29 0a 20 20 |rsion "2|0"))). |
|000001e0| 20 20 28 65 72 72 6f 72 | 20 22 60 63 6f 6f 6b 69 | (error| "`cooki|
|000001f0| 65 2e 65 6c 27 20 77 61 | 73 20 63 6f 6d 70 69 6c |e.el' wa|s compil|
|00000200| 65 64 20 66 6f 72 20 45 | 6d 61 63 73 20 32 30 22 |ed for E|macs 20"|
|00000210| 29 29 0a 0a 28 6f 72 20 | 28 62 6f 75 6e 64 70 20 |))..(or |(boundp |
|00000220| 27 63 75 72 72 65 6e 74 | 2d 6c 6f 61 64 2d 6c 69 |'current|-load-li|
|00000230| 73 74 29 20 28 73 65 74 | 71 20 63 75 72 72 65 6e |st) (set|q curren|
|00000240| 74 2d 6c 6f 61 64 2d 6c | 69 73 74 20 6e 69 6c 29 |t-load-l|ist nil)|
|00000250| 29 0a 0a 0a 28 62 79 74 | 65 2d 63 6f 64 65 20 22 |)...(byt|e-code "|
|00000260| c0 c1 21 88 c2 c3 21 88 | c4 c5 c6 c7 23 87 22 20 |..!...!.|....#." |
|00000270| 5b 72 65 71 75 69 72 65 | 20 64 6c 6c 20 70 72 6f |[require| dll pro|
|00000280| 76 69 64 65 20 63 6f 6f | 6b 69 65 20 70 75 74 20 |vide coo|kie put |
|00000290| 65 6c 69 62 2d 73 65 74 | 2d 62 75 66 66 65 72 2d |elib-set|-buffer-|
|000002a0| 62 69 6e 64 2d 64 6c 6c | 20 6c 69 73 70 2d 69 6e |bind-dll| lisp-in|
|000002b0| 64 65 6e 74 2d 68 6f 6f | 6b 20 31 5d 20 34 29 0a |dent-hoo|k 1] 4).|
|000002c0| 28 64 65 66 61 6c 69 61 | 73 20 27 65 6c 69 62 2d |(defalia|s 'elib-|
|000002d0| 73 65 74 2d 62 75 66 66 | 65 72 2d 62 69 6e 64 2d |set-buff|er-bind-|
|000002e0| 64 6c 6c 20 27 28 6d 61 | 63 72 6f 20 2e 20 23 5b |dll '(ma|cro . #[|
|000002f0| 28 63 6f 6c 6c 65 63 74 | 69 6f 6e 20 26 72 65 73 |(collect|ion &res|
|00000300| 74 20 66 6f 72 6d 73 29 | 20 22 c0 c1 21 c0 c2 21 |t forms)| "..!..!|
|00000310| 1b 1c c5 0c c6 42 0b 0e | 07 44 c8 c9 0b 44 44 45 |.....B..|.D...DDE|
|00000320| ca cb 0b 44 44 cc cd 0e | 0e 42 ca 0c 44 45 46 2a |...DD...|.B..DEF*|
|00000330| 87 22 20 5b 6d 61 6b 65 | 2d 73 79 6d 62 6f 6c 20 |." [make|-symbol |
|00000340| 22 6f 6c 64 2d 62 75 66 | 66 65 72 22 20 22 63 6f |"old-buf|fer" "co|
|00000350| 6c 6c 65 63 74 69 6f 6e | 22 20 68 6e 64 20 6f 6c |llection|" hnd ol|
|00000360| 64 2d 62 75 66 66 65 72 | 20 6c 65 74 2a 20 28 28 |d-buffer| let* ((|
|00000370| 63 75 72 72 65 6e 74 2d | 62 75 66 66 65 72 29 29 |current-|buffer))|
|00000380| 20 63 6f 6c 6c 65 63 74 | 69 6f 6e 20 64 6c 6c 20 | collect|ion dll |
|00000390| 65 6c 69 62 2d 63 6f 6c | 6c 65 63 74 69 6f 6e 2d |elib-col|lection-|
|000003a0| 3e 64 6c 6c 20 73 65 74 | 2d 62 75 66 66 65 72 20 |>dll set|-buffer |
|000003b0| 65 6c 69 62 2d 63 6f 6c | 6c 65 63 74 69 6f 6e 2d |elib-col|lection-|
|000003c0| 3e 62 75 66 66 65 72 20 | 75 6e 77 69 6e 64 2d 70 |>buffer |unwind-p|
|000003d0| 72 6f 74 65 63 74 20 70 | 72 6f 67 6e 20 66 6f 72 |rotect p|rogn for|
|000003e0| 6d 73 5d 20 37 5d 29 29 | 0a 28 70 75 74 20 27 65 |ms] 7]))|.(put 'e|
|000003f0| 6c 69 62 2d 73 65 74 2d | 62 75 66 66 65 72 2d 62 |lib-set-|buffer-b|
|00000400| 69 6e 64 2d 64 6c 6c 2d | 6c 65 74 2a 20 27 6c 69 |ind-dll-|let* 'li|
|00000410| 73 70 2d 69 6e 64 65 6e | 74 2d 68 6f 6f 6b 20 32 |sp-inden|t-hook 2|
|00000420| 29 0a 28 64 65 66 61 6c | 69 61 73 20 27 65 6c 69 |).(defal|ias 'eli|
|00000430| 62 2d 73 65 74 2d 62 75 | 66 66 65 72 2d 62 69 6e |b-set-bu|ffer-bin|
|00000440| 64 2d 64 6c 6c 2d 6c 65 | 74 2a 20 27 28 6d 61 63 |d-dll-le|t* '(mac|
|00000450| 72 6f 20 2e 20 23 5b 28 | 63 6f 6c 6c 65 63 74 69 |ro . #[(|collecti|
|00000460| 6f 6e 20 76 61 72 6c 69 | 73 74 20 26 72 65 73 74 |on varli|st &rest|
|00000470| 20 66 6f 72 6d 73 29 20 | 22 c0 c1 21 c0 c2 21 1b | forms) |"..!..!.|
|00000480| 1c c5 0c c6 42 0b 0e 07 | 44 c8 c9 0b 44 44 0e 5c |....B...|D...DD.\|
|00000490| 6e 42 42 42 cb cc 0b 44 | 44 cd ce 0e 0f 42 cb 0c |nBBB...D|D....B..|
|000004a0| 44 45 46 2a 87 22 20 5b | 6d 61 6b 65 2d 73 79 6d |DEF*." [|make-sym|
|000004b0| 62 6f 6c 20 22 6f 6c 64 | 2d 62 75 66 66 65 72 22 |bol "old|-buffer"|
|000004c0| 20 22 63 6f 6c 6c 65 63 | 74 69 6f 6e 22 20 68 6e | "collec|tion" hn|
|000004d0| 64 20 6f 6c 64 2d 62 75 | 66 66 65 72 20 6c 65 74 |d old-bu|ffer let|
|000004e0| 2a 20 28 28 63 75 72 72 | 65 6e 74 2d 62 75 66 66 |* ((curr|ent-buff|
|000004f0| 65 72 29 29 20 63 6f 6c | 6c 65 63 74 69 6f 6e 20 |er)) col|lection |
|00000500| 64 6c 6c 20 65 6c 69 62 | 2d 63 6f 6c 6c 65 63 74 |dll elib|-collect|
|00000510| 69 6f 6e 2d 3e 64 6c 6c | 20 76 61 72 6c 69 73 74 |ion->dll| varlist|
|00000520| 20 73 65 74 2d 62 75 66 | 66 65 72 20 65 6c 69 62 | set-buf|fer elib|
|00000530| 2d 63 6f 6c 6c 65 63 74 | 69 6f 6e 2d 3e 62 75 66 |-collect|ion->buf|
|00000540| 66 65 72 20 75 6e 77 69 | 6e 64 2d 70 72 6f 74 65 |fer unwi|nd-prote|
|00000550| 63 74 20 70 72 6f 67 6e | 20 66 6f 72 6d 73 5d 20 |ct progn| forms] |
|00000560| 37 5d 29 29 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |7])).(de|falias '|
|00000570| 65 6c 69 62 2d 66 69 6c | 74 65 72 2d 68 66 20 27 |elib-fil|ter-hf '|
|00000580| 28 6d 61 63 72 6f 20 2e | 20 23 5b 28 63 6f 6c 6c |(macro .| #[(coll|
|00000590| 65 63 74 69 6f 6e 20 74 | 69 6e 29 20 22 c0 c1 21 |ection t|in) "..!|
|000005a0| c0 c2 21 1b 1c c5 0c 0e | 06 44 0b 0e 07 44 44 c8 |..!.....|.D...DD.|
|000005b0| c9 ca 0c cb 0b 44 45 ca | 0c cc 0b 44 45 45 cd 0c |.....DE.|...DEE..|
|000005c0| 46 45 2a 87 22 20 5b 6d | 61 6b 65 2d 73 79 6d 62 |FE*." [m|ake-symb|
|000005d0| 6f 6c 20 22 74 69 6e 22 | 20 22 74 6d 70 63 6f 6c |ol "tin"| "tmpcol|
|000005e0| 6c 65 63 74 69 6f 6e 22 | 20 74 6d 70 63 6f 6c 6c |lection"| tmpcoll|
|000005f0| 20 74 65 6d 70 76 61 72 | 20 6c 65 74 20 74 69 6e | tempvar| let tin|
|00000600| 20 63 6f 6c 6c 65 63 74 | 69 6f 6e 20 69 66 20 6f | collect|ion if o|
|00000610| 72 20 65 71 20 65 6c 69 | 62 2d 63 6f 6c 6c 65 63 |r eq eli|b-collec|
|00000620| 74 69 6f 6e 2d 3e 68 65 | 61 64 65 72 20 65 6c 69 |tion->he|ader eli|
|00000630| 62 2d 63 6f 6c 6c 65 63 | 74 69 6f 6e 2d 3e 66 6f |b-collec|tion->fo|
|00000640| 6f 74 65 72 20 6e 69 6c | 5d 20 39 5d 29 29 0a 28 |oter nil|] 9])).(|
|00000650| 64 65 66 61 6c 69 61 73 | 20 27 65 6c 69 62 2d 63 |defalias| 'elib-c|
|00000660| 72 65 61 74 65 2d 77 72 | 61 70 70 65 72 20 23 5b |reate-wr|apper #[|
|00000670| 28 73 74 61 72 74 2d 6d | 61 72 6b 65 72 20 63 6f |(start-m|arker co|
|00000680| 6f 6b 69 65 29 20 22 c0 | c1 5c 6e 0b 5c 22 42 87 |okie) ".|.\n.\"B.|
|00000690| 22 20 5b 57 52 41 50 50 | 45 52 20 76 65 63 74 6f |" [WRAPP|ER vecto|
|000006a0| 72 20 73 74 61 72 74 2d | 6d 61 72 6b 65 72 20 63 |r start-|marker c|
|000006b0| 6f 6f 6b 69 65 5d 20 34 | 5d 29 0a 28 64 65 66 61 |ookie] 4|]).(defa|
|000006c0| 6c 69 61 73 20 27 65 6c | 69 62 2d 77 72 61 70 70 |lias 'el|ib-wrapp|
|000006d0| 65 72 2d 3e 73 74 61 72 | 74 2d 6d 61 72 6b 65 72 |er->star|t-marker|
|000006e0| 20 23 5b 28 77 72 61 70 | 70 65 72 29 20 22 08 41 | #[(wrap|per) ".A|
|000006f0| c1 9c 87 22 20 5b 77 72 | 61 70 70 65 72 20 30 5d |..." [wr|apper 0]|
|00000700| 20 32 5d 29 0a 28 64 65 | 66 61 6c 69 61 73 20 27 | 2]).(de|falias '|
|00000710| 65 6c 69 62 2d 77 72 61 | 70 70 65 72 2d 3e 63 6f |elib-wra|pper->co|
|00000720| 6f 6b 69 65 2d 73 61 66 | 65 20 23 5b 28 77 72 61 |okie-saf|e #[(wra|
|00000730| 70 70 65 72 29 20 22 08 | 41 c1 9c 87 22 20 5b 77 |pper) ".|A..." [w|
|00000740| 72 61 70 70 65 72 20 31 | 5d 20 32 5d 29 0a 28 64 |rapper 1|] 2]).(d|
|00000750| 65 66 61 6c 69 61 73 20 | 27 65 6c 69 62 2d 77 72 |efalias |'elib-wr|
|00000760| 61 70 70 65 72 2d 3e 63 | 6f 6f 6b 69 65 20 23 5b |apper->c|ookie #[|
|00000770| 28 77 72 61 70 70 65 72 | 29 20 22 08 41 c1 9c 87 |(wrapper|) ".A...|
|00000780| 22 20 5b 77 72 61 70 70 | 65 72 20 31 5d 20 32 5d |" [wrapp|er 1] 2]|
|00000790| 29 0a 28 64 65 66 61 6c | 69 61 73 20 27 65 6c 69 |).(defal|ias 'eli|
|000007a0| 62 2d 63 72 65 61 74 65 | 2d 63 6f 6c 6c 65 63 74 |b-create|-collect|
|000007b0| 69 6f 6e 20 23 5b 28 62 | 75 66 66 65 72 20 70 72 |ion #[(b|uffer pr|
|000007c0| 65 74 74 79 2d 70 72 69 | 6e 74 65 72 20 68 65 61 |etty-pri|nter hea|
|000007d0| 64 65 72 2d 77 72 61 70 | 70 65 72 20 66 6f 6f 74 |der-wrap|per foot|
|000007e0| 65 72 2d 77 72 61 70 70 | 65 72 20 64 6c 6c 29 20 |er-wrapp|er dll) |
|000007f0| 22 c0 c1 5c 6e 0b 0c 0d | 0e 06 c7 26 06 42 87 22 |"..\n...|...&.B."|
|00000800| 20 5b 43 4f 4c 4c 45 43 | 54 49 4f 4e 20 76 65 63 | [COLLEC|TION vec|
|00000810| 74 6f 72 20 62 75 66 66 | 65 72 20 70 72 65 74 74 |tor buff|er prett|
|00000820| 79 2d 70 72 69 6e 74 65 | 72 20 68 65 61 64 65 72 |y-printe|r header|
|00000830| 2d 77 72 61 70 70 65 72 | 20 66 6f 6f 74 65 72 2d |-wrapper| footer-|
|00000840| 77 72 61 70 70 65 72 20 | 64 6c 6c 20 6e 69 6c 5d |wrapper |dll nil]|
|00000850| 20 38 5d 29 0a 28 64 65 | 66 61 6c 69 61 73 20 27 | 8]).(de|falias '|
|00000860| 65 6c 69 62 2d 63 6f 6c | 6c 65 63 74 69 6f 6e 2d |elib-col|lection-|
|00000870| 3e 62 75 66 66 65 72 20 | 23 5b 28 63 6f 6c 6c 65 |>buffer |#[(colle|
|00000880| 63 74 69 6f 6e 29 20 22 | 08 41 c1 9c 87 22 20 5b |ction) "|.A..." [|
|00000890| 63 6f 6c 6c 65 63 74 69 | 6f 6e 20 30 5d 20 32 5d |collecti|on 0] 2]|
|000008a0| 29 0a 28 64 65 66 61 6c | 69 61 73 20 27 65 6c 69 |).(defal|ias 'eli|
|000008b0| 62 2d 63 6f 6c 6c 65 63 | 74 69 6f 6e 2d 3e 70 72 |b-collec|tion->pr|
|000008c0| 65 74 74 79 2d 70 72 69 | 6e 74 65 72 20 23 5b 28 |etty-pri|nter #[(|
|000008d0| 63 6f 6c 6c 65 63 74 69 | 6f 6e 29 20 22 08 41 c1 |collecti|on) ".A.|
|000008e0| 9c 87 22 20 5b 63 6f 6c | 6c 65 63 74 69 6f 6e 20 |.." [col|lection |
|000008f0| 31 5d 20 32 5d 29 0a 28 | 64 65 66 61 6c 69 61 73 |1] 2]).(|defalias|
|00000900| 20 27 65 6c 69 62 2d 63 | 6f 6c 6c 65 63 74 69 6f | 'elib-c|ollectio|
|00000910| 6e 2d 3e 68 65 61 64 65 | 72 20 23 5b 28 63 6f 6c |n->heade|r #[(col|
|00000920| 6c 65 63 74 69 6f 6e 29 | 20 22 08 41 c1 9c 87 22 |lection)| ".A..."|
|00000930| 20 5b 63 6f 6c 6c 65 63 | 74 69 6f 6e 20 32 5d 20 | [collec|tion 2] |
|00000940| 32 5d 29 0a 28 64 65 66 | 61 6c 69 61 73 20 27 65 |2]).(def|alias 'e|
|00000950| 6c 69 62 2d 63 6f 6c 6c | 65 63 74 69 6f 6e 2d 3e |lib-coll|ection->|
|00000960| 66 6f 6f 74 65 72 20 23 | 5b 28 63 6f 6c 6c 65 63 |footer #|[(collec|
|00000970| 74 69 6f 6e 29 20 22 08 | 41 c1 9c 87 22 20 5b 63 |tion) ".|A..." [c|
|00000980| 6f 6c 6c 65 63 74 69 6f | 6e 20 33 5d 20 32 5d 29 |ollectio|n 3] 2])|
|00000990| 0a 28 64 65 66 61 6c 69 | 61 73 20 27 65 6c 69 62 |.(defali|as 'elib|
|000009a0| 2d 63 6f 6c 6c 65 63 74 | 69 6f 6e 2d 3e 64 6c 6c |-collect|ion->dll|
|000009b0| 20 23 5b 28 63 6f 6c 6c | 65 63 74 69 6f 6e 29 20 | #[(coll|ection) |
|000009c0| 22 08 41 c1 9c 87 22 20 | 5b 63 6f 6c 6c 65 63 74 |".A..." |[collect|
|000009d0| 69 6f 6e 20 34 5d 20 32 | 5d 29 0a 28 64 65 66 61 |ion 4] 2|]).(defa|
|000009e0| 6c 69 61 73 20 27 65 6c | 69 62 2d 63 6f 6c 6c 65 |lias 'el|ib-colle|
|000009f0| 63 74 69 6f 6e 2d 3e 6c | 61 73 74 2d 74 69 6e 20 |ction->l|ast-tin |
|00000a00| 23 5b 28 63 6f 6c 6c 65 | 63 74 69 6f 6e 29 20 22 |#[(colle|ction) "|
|00000a10| 08 41 c1 9c 87 22 20 5b | 63 6f 6c 6c 65 63 74 69 |.A..." [|collecti|
|00000a20| 6f 6e 20 35 5d 20 32 5d | 29 0a 28 64 65 66 61 6c |on 5] 2]|).(defal|
|00000a30| 69 61 73 20 27 65 6c 69 | 62 2d 73 65 74 2d 63 6f |ias 'eli|b-set-co|
|00000a40| 6c 6c 65 63 74 69 6f 6e | 2d 3e 62 75 66 66 65 72 |llection|->buffer|
|00000a50| 20 23 5b 28 63 6f 6c 6c | 65 63 74 69 6f 6e 20 62 | #[(coll|ection b|
|00000a60| 75 66 66 65 72 29 20 22 | 08 41 c1 5c 6e 49 87 22 |uffer) "|.A.\nI."|
|00000a70| 20 5b 63 6f 6c 6c 65 63 | 74 69 6f 6e 20 30 20 62 | [collec|tion 0 b|
|00000a80| 75 66 66 65 72 5d 20 33 | 5d 29 0a 28 64 65 66 61 |uffer] 3|]).(defa|
|00000a90| 6c 69 61 73 20 27 65 6c | 69 62 2d 73 65 74 2d 63 |lias 'el|ib-set-c|
|00000aa0| 6f 6c 6c 65 63 74 69 6f | 6e 2d 3e 70 72 65 74 74 |ollectio|n->prett|
|00000ab0| 79 2d 70 72 69 6e 74 65 | 72 20 23 5b 28 63 6f 6c |y-printe|r #[(col|
|00000ac0| 6c 65 63 74 69 6f 6e 20 | 70 72 65 74 74 79 2d 70 |lection |pretty-p|
|00000ad0| 72 69 6e 74 65 72 29 20 | 22 08 41 c1 5c 6e 49 87 |rinter) |".A.\nI.|
|00000ae0| 22 20 5b 63 6f 6c 6c 65 | 63 74 69 6f 6e 20 31 20 |" [colle|ction 1 |
|00000af0| 70 72 65 74 74 79 2d 70 | 72 69 6e 74 65 72 5d 20 |pretty-p|rinter] |
|00000b00| 33 5d 29 0a 28 64 65 66 | 61 6c 69 61 73 20 27 65 |3]).(def|alias 'e|
|00000b10| 6c 69 62 2d 73 65 74 2d | 63 6f 6c 6c 65 63 74 69 |lib-set-|collecti|
|00000b20| 6f 6e 2d 3e 68 65 61 64 | 65 72 20 23 5b 28 63 6f |on->head|er #[(co|
|00000b30| 6c 6c 65 63 74 69 6f 6e | 20 68 65 61 64 65 72 29 |llection| header)|
|00000b40| 20 22 08 41 c1 5c 6e 49 | 87 22 20 5b 63 6f 6c 6c | ".A.\nI|." [coll|
|00000b50| 65 63 74 69 6f 6e 20 32 | 20 68 65 61 64 65 72 5d |ection 2| header]|
|00000b60| 20 33 5d 29 0a 28 64 65 | 66 61 6c 69 61 73 20 27 | 3]).(de|falias '|
|00000b70| 65 6c 69 62 2d 73 65 74 | 2d 63 6f 6c 6c 65 63 74 |elib-set|-collect|
|00000b80| 69 6f 6e 2d 3e 66 6f 6f | 74 65 72 20 23 5b 28 63 |ion->foo|ter #[(c|
|00000b90| 6f 6c 6c 65 63 74 69 6f | 6e 20 66 6f 6f 74 65 72 |ollectio|n footer|
|00000ba0| 29 20 22 08 41 c1 5c 6e | 49 87 22 20 5b 63 6f 6c |) ".A.\n|I." [col|
|00000bb0| 6c 65 63 74 69 6f 6e 20 | 33 20 66 6f 6f 74 65 72 |lection |3 footer|
|00000bc0| 5d 20 33 5d 29 0a 28 64 | 65 66 61 6c 69 61 73 20 |] 3]).(d|efalias |
|00000bd0| 27 65 6c 69 62 2d 73 65 | 74 2d 63 6f 6c 6c 65 63 |'elib-se|t-collec|
|00000be0| 74 69 6f 6e 2d 3e 64 6c | 6c 20 23 5b 28 63 6f 6c |tion->dl|l #[(col|
|00000bf0| 6c 65 63 74 69 6f 6e 20 | 64 6c 6c 29 20 22 08 41 |lection |dll) ".A|
|00000c00| c1 5c 6e 49 87 22 20 5b | 63 6f 6c 6c 65 63 74 69 |.\nI." [|collecti|
|00000c10| 6f 6e 20 34 20 64 6c 6c | 5d 20 33 5d 29 0a 28 64 |on 4 dll|] 3]).(d|
|00000c20| 65 66 61 6c 69 61 73 20 | 27 65 6c 69 62 2d 73 65 |efalias |'elib-se|
|00000c30| 74 2d 63 6f 6c 6c 65 63 | 74 69 6f 6e 2d 3e 6c 61 |t-collec|tion->la|
|00000c40| 73 74 2d 74 69 6e 20 23 | 5b 28 63 6f 6c 6c 65 63 |st-tin #|[(collec|
|00000c50| 74 69 6f 6e 20 6c 61 73 | 74 2d 74 69 6e 29 20 22 |tion las|t-tin) "|
|00000c60| 08 41 c1 5c 6e 49 87 22 | 20 5b 63 6f 6c 6c 65 63 |.A.\nI."| [collec|
|00000c70| 74 69 6f 6e 20 35 20 6c | 61 73 74 2d 74 69 6e 5d |tion 5 l|ast-tin]|
|00000c80| 20 33 5d 29 0a 28 64 65 | 66 61 6c 69 61 73 20 27 | 3]).(de|falias '|
|00000c90| 65 6c 69 62 2d 61 62 73 | 20 23 5b 28 78 29 20 22 |elib-abs| #[(x) "|
|00000ca0| 08 89 5b 5d 87 22 20 5b | 78 5d 20 32 5d 29 0a 28 |..[]." [|x] 2]).(|
|00000cb0| 64 65 66 61 6c 69 61 73 | 20 27 65 6c 69 62 2d 63 |defalias| 'elib-c|
|00000cc0| 72 65 61 74 65 2d 77 72 | 61 70 70 65 72 2d 61 6e |reate-wr|apper-an|
|00000cd0| 64 2d 69 6e 73 65 72 74 | 20 23 5b 28 63 6f 6f 6b |d-insert| #[(cook|
|00000ce0| 69 65 20 73 74 72 69 6e | 67 20 70 6f 73 29 20 22 |ie strin|g pos) "|
|00000cf0| 8a 08 62 88 c1 08 21 ab | 85 c2 08 21 aa 81 08 c3 |..b...!.|...!....|
|00000d00| 1c 1d c6 0e 07 21 88 c6 | c8 21 88 c9 ca 0d 21 0e |.....!..|.!....!.|
|00000d10| 0b 5c 22 2b 87 22 20 5b | 70 6f 73 20 6d 61 72 6b |.\"+." [|pos mark|
|00000d20| 65 72 70 20 6d 61 72 6b | 65 72 2d 70 6f 73 69 74 |erp mark|er-posit|
|00000d30| 69 6f 6e 20 6e 69 6c 20 | 62 75 66 66 65 72 2d 72 |ion nil |buffer-r|
|00000d40| 65 61 64 2d 6f 6e 6c 79 | 20 73 74 61 72 74 20 69 |ead-only| start i|
|00000d50| 6e 73 65 72 74 2d 62 65 | 66 6f 72 65 2d 6d 61 72 |nsert-be|fore-mar|
|00000d60| 6b 65 72 73 20 73 74 72 | 69 6e 67 20 3f 5c 6e 20 |kers str|ing ?\n |
|00000d70| 65 6c 69 62 2d 63 72 65 | 61 74 65 2d 77 72 61 70 |elib-cre|ate-wrap|
|00000d80| 70 65 72 20 63 6f 70 79 | 2d 6d 61 72 6b 65 72 20 |per copy|-marker |
|00000d90| 63 6f 6f 6b 69 65 5d 20 | 33 5d 29 0a 28 64 65 66 |cookie] |3]).(def|
|00000da0| 61 6c 69 61 73 20 27 65 | 6c 69 62 2d 63 72 65 61 |alias 'e|lib-crea|
|00000db0| 74 65 2d 77 72 61 70 70 | 65 72 2d 61 6e 64 2d 70 |te-wrapp|er-and-p|
|00000dc0| 72 65 74 74 79 2d 70 72 | 69 6e 74 20 23 5b 28 63 |retty-pr|int #[(c|
|00000dd0| 6f 6f 6b 69 65 20 70 72 | 65 74 74 79 2d 70 72 69 |ookie pr|etty-pri|
|00000de0| 6e 74 65 72 20 70 6f 73 | 29 20 22 8a 08 62 88 c1 |nter pos|) "..b..|
|00000df0| 08 21 ab 85 c2 08 21 aa | 81 08 c3 1c 1d c6 c7 21 |.!....!.|.......!|
|00000e00| 88 c8 c9 21 88 0e 5c 6e | 0e 0b 21 88 cc cd 0d 21 |...!..\n|..!....!|
|00000e10| 0e 0b 5c 22 2b 87 22 20 | 5b 70 6f 73 20 6d 61 72 |..\"+." |[pos mar|
|00000e20| 6b 65 72 70 20 6d 61 72 | 6b 65 72 2d 70 6f 73 69 |kerp mar|ker-posi|
|00000e30| 74 69 6f 6e 20 6e 69 6c | 20 62 75 66 66 65 72 2d |tion nil| buffer-|
|00000e40| 72 65 61 64 2d 6f 6e 6c | 79 20 73 74 61 72 74 20 |read-onl|y start |
|00000e50| 69 6e 73 65 72 74 2d 62 | 65 66 6f 72 65 2d 6d 61 |insert-b|efore-ma|
|00000e60| 72 6b 65 72 73 20 3f 5c | 6e 20 62 61 63 6b 77 61 |rkers ?\|n backwa|
|00000e70| 72 64 2d 63 68 61 72 20 | 31 20 70 72 65 74 74 79 |rd-char |1 pretty|
|00000e80| 2d 70 72 69 6e 74 65 72 | 20 63 6f 6f 6b 69 65 20 |-printer| cookie |
|00000e90| 65 6c 69 62 2d 63 72 65 | 61 74 65 2d 77 72 61 70 |elib-cre|ate-wrap|
|00000ea0| 70 65 72 20 63 6f 70 79 | 2d 6d 61 72 6b 65 72 5d |per copy|-marker]|
|00000eb0| 20 33 5d 29 0a 28 64 65 | 66 61 6c 69 61 73 20 27 | 3]).(de|falias '|
|00000ec0| 65 6c 69 62 2d 64 65 6c | 65 74 65 2d 74 69 6e 2d |elib-del|ete-tin-|
|00000ed0| 69 6e 74 65 72 6e 61 6c | 20 23 5b 28 63 6f 6c 6c |internal| #[(coll|
|00000ee0| 65 63 74 69 6f 6e 20 74 | 69 6e 29 20 22 c0 09 21 |ection t|in) "..!|
|00000ef0| c2 1b 1c c5 09 21 0e 06 | 61 ab 85 c7 09 c2 5c 22 |.....!..|a.....\"|
|00000f00| 88 c8 0e 06 c9 48 21 c8 | ca 0c 0e 06 5c 22 c9 48 |.....H!.|....\".H|
|00000f10| 21 7c 88 c8 0e 06 c9 48 | 21 c2 89 93 88 cb 0c 0e |!|.....H|!.......|
|00000f20| 06 5c 22 2a 87 22 20 5b | 65 6c 69 62 2d 63 6f 6c |.\"*." [|elib-col|
|00000f30| 6c 65 63 74 69 6f 6e 2d | 3e 64 6c 6c 20 63 6f 6c |lection-|>dll col|
|00000f40| 6c 65 63 74 69 6f 6e 20 | 6e 69 6c 20 62 75 66 66 |lection |nil buff|
|00000f50| 65 72 2d 72 65 61 64 2d | 6f 6e 6c 79 20 64 6c 6c |er-read-|only dll|
|00000f60| 20 65 6c 69 62 2d 63 6f | 6c 6c 65 63 74 69 6f 6e | elib-co|llection|
|00000f70| 2d 3e 6c 61 73 74 2d 74 | 69 6e 20 74 69 6e 20 65 |->last-t|in tin e|
|00000f80| 6c 69 62 2d 73 65 74 2d | 63 6f 6c 6c 65 63 74 69 |lib-set-|collecti|
|00000f90| 6f 6e 2d 3e 6c 61 73 74 | 2d 74 69 6e 20 65 6c 69 |on->last|-tin eli|
|00000fa0| 62 2d 77 72 61 70 70 65 | 72 2d 3e 73 74 61 72 74 |b-wrappe|r->start|
|00000fb0| 2d 6d 61 72 6b 65 72 20 | 32 20 64 6c 6c 2d 6e 65 |-marker |2 dll-ne|
|00000fc0| 78 74 20 64 6c 6c 2d 64 | 65 6c 65 74 65 5d 20 35 |xt dll-d|elete] 5|
|00000fd0| 5d 29 0a 28 64 65 66 61 | 6c 69 61 73 20 27 65 6c |]).(defa|lias 'el|
|00000fe0| 69 62 2d 72 65 66 72 65 | 73 68 2d 74 69 6e 20 23 |ib-refre|sh-tin #|
|00000ff0| 5b 28 63 6f 6c 6c 65 63 | 74 69 6f 6e 20 74 69 6e |[(collec|tion tin|
|00001000| 29 20 22 c0 19 8a c2 0b | c4 48 21 c5 c2 c6 0e 07 |) ".....|.H!.....|
|00001010| 0b 5c 22 c4 48 21 21 53 | 7c 88 c2 0b c4 48 21 62 |.\".H!!S||....H!b|
|00001020| 88 c8 0e 09 21 ca 0b c4 | 48 21 21 2a 87 22 20 5b |....!...|H!!*." [|
|00001030| 6e 69 6c 20 62 75 66 66 | 65 72 2d 72 65 61 64 2d |nil buff|er-read-|
|00001040| 6f 6e 6c 79 20 65 6c 69 | 62 2d 77 72 61 70 70 65 |only eli|b-wrappe|
|00001050| 72 2d 3e 73 74 61 72 74 | 2d 6d 61 72 6b 65 72 20 |r->start|-marker |
|00001060| 74 69 6e 20 32 20 6d 61 | 72 6b 65 72 2d 70 6f 73 |tin 2 ma|rker-pos|
|00001070| 69 74 69 6f 6e 20 64 6c | 6c 2d 6e 65 78 74 20 64 |ition dl|l-next d|
|00001080| 6c 6c 20 65 6c 69 62 2d | 63 6f 6c 6c 65 63 74 69 |ll elib-|collecti|
|00001090| 6f 6e 2d 3e 70 72 65 74 | 74 79 2d 70 72 69 6e 74 |on->pret|ty-print|
|000010a0| 65 72 20 63 6f 6c 6c 65 | 63 74 69 6f 6e 20 65 6c |er colle|ction el|
|000010b0| 69 62 2d 77 72 61 70 70 | 65 72 2d 3e 63 6f 6f 6b |ib-wrapp|er->cook|
|000010c0| 69 65 5d 20 36 5d 29 0a | 28 64 65 66 61 6c 69 61 |ie] 6]).|(defalia|
|000010d0| 73 20 27 65 6c 69 62 2d | 70 6f 73 2d 62 65 66 6f |s 'elib-|pos-befo|
|000010e0| 72 65 2d 6d 69 64 64 6c | 65 2d 70 20 23 5b 28 63 |re-middl|e-p #[(c|
|000010f0| 6f 6c 6c 65 63 74 69 6f | 6e 20 70 6f 73 20 74 69 |ollectio|n pos ti|
|00001100| 6e 31 20 74 69 6e 32 29 | 20 22 c0 09 21 1a 0b c4 |n1 tin2)| "..!...|
|00001110| 0d c6 48 21 c4 0e 07 c6 | 48 21 5c 5c c6 a5 57 29 |..H!....|H!\\..W)|
|00001120| 87 22 20 5b 65 6c 69 62 | 2d 63 6f 6c 6c 65 63 74 |." [elib|-collect|
|00001130| 69 6f 6e 2d 3e 64 6c 6c | 20 63 6f 6c 6c 65 63 74 |ion->dll| collect|
|00001140| 69 6f 6e 20 64 6c 6c 20 | 70 6f 73 20 65 6c 69 62 |ion dll |pos elib|
|00001150| 2d 77 72 61 70 70 65 72 | 2d 3e 73 74 61 72 74 2d |-wrapper|->start-|
|00001160| 6d 61 72 6b 65 72 20 74 | 69 6e 31 20 32 20 74 69 |marker t|in1 2 ti|
|00001170| 6e 32 5d 20 35 5d 29 0a | 23 40 39 33 37 20 43 72 |n2] 5]).|#@937 Cr|
|00001180| 65 61 74 65 20 61 6e 20 | 65 6d 70 74 79 20 63 6f |eate an |empty co|
|00001190| 6c 6c 65 63 74 69 6f 6e | 20 6f 66 20 63 6f 6f 6b |llection| of cook|
|000011a0| 69 65 73 2e 0a 41 72 67 | 73 3a 20 42 55 46 46 45 |ies..Arg|s: BUFFE|
|000011b0| 52 20 50 52 45 54 54 59 | 2d 50 52 49 4e 54 45 52 |R PRETTY|-PRINTER|
|000011c0| 20 26 6f 70 74 69 6f 6e | 61 6c 20 48 45 41 44 45 | &option|al HEADE|
|000011d0| 52 20 46 4f 4f 54 45 52 | 20 50 4f 53 2e 0a 0a 54 |R FOOTER| POS...T|
|000011e0| 68 65 20 63 6f 6c 6c 65 | 63 74 69 6f 6e 20 77 69 |he colle|ction wi|
|000011f0| 6c 6c 20 62 65 20 69 6e | 73 65 72 74 65 64 20 69 |ll be in|serted i|
|00001200| 6e 20 42 55 46 46 45 52 | 2e 20 42 55 46 46 45 52 |n BUFFER|. BUFFER|
|00001210| 20 6d 61 79 20 62 65 20 | 61 0a 62 75 66 66 65 72 | may be |a.buffer|
|00001220| 20 6f 72 20 61 20 62 75 | 66 66 65 72 20 6e 61 6d | or a bu|ffer nam|
|00001230| 65 2e 20 49 74 20 69 73 | 20 63 72 65 61 74 65 64 |e. It is| created|
|00001240| 20 69 66 20 69 74 20 64 | 6f 65 73 20 6e 6f 74 20 | if it d|oes not |
|00001250| 65 78 69 73 74 2e 0a 0a | 50 52 45 54 54 59 2d 50 |exist...|PRETTY-P|
|00001260| 52 49 4e 54 45 52 20 73 | 68 6f 75 6c 64 20 62 65 |RINTER s|hould be|
|00001270| 20 61 20 66 75 6e 63 74 | 69 6f 6e 20 74 68 61 74 | a funct|ion that|
|00001280| 20 74 61 6b 65 73 20 6f | 6e 65 20 61 72 67 75 6d | takes o|ne argum|
|00001290| 65 6e 74 2c 20 61 0a 63 | 6f 6f 6b 69 65 2c 20 61 |ent, a.c|ookie, a|
|000012a0| 6e 64 20 69 6e 73 65 72 | 74 73 20 61 20 73 74 72 |nd inser|ts a str|
|000012b0| 69 6e 67 20 72 65 70 72 | 65 73 65 6e 74 69 6e 67 |ing repr|esenting|
|000012c0| 20 69 74 20 69 6e 20 74 | 68 65 20 62 75 66 66 65 | it in t|he buffe|
|000012d0| 72 20 28 61 74 0a 70 6f | 69 6e 74 29 2e 20 54 68 |r (at.po|int). Th|
|000012e0| 65 20 73 74 72 69 6e 67 | 20 50 52 45 54 54 59 2d |e string| PRETTY-|
|000012f0| 50 52 49 4e 54 45 52 20 | 69 6e 73 65 72 74 73 20 |PRINTER |inserts |
|00001300| 6d 61 79 20 62 65 20 65 | 6d 70 74 79 20 6f 72 20 |may be e|mpty or |
|00001310| 73 70 61 6e 0a 73 65 76 | 65 72 61 6c 20 6c 69 6e |span.sev|eral lin|
|00001320| 73 65 2e 20 41 20 74 72 | 61 69 6c 69 6e 67 20 6e |se. A tr|ailing n|
|00001330| 65 77 6c 69 6e 65 20 77 | 69 6c 6c 20 61 6c 77 61 |ewline w|ill alwa|
|00001340| 79 73 20 62 65 20 69 6e | 73 65 72 74 65 64 0a 61 |ys be in|serted.a|
|00001350| 75 74 6f 6d 61 74 69 63 | 61 6c 6c 79 2e 20 54 68 |utomatic|ally. Th|
|00001360| 65 20 50 52 45 54 54 59 | 2d 50 52 49 4e 54 45 52 |e PRETTY|-PRINTER|
|00001370| 20 73 68 6f 75 6c 64 20 | 75 73 65 20 69 6e 73 65 | should |use inse|
|00001380| 72 74 2c 20 61 6e 64 20 | 6e 6f 74 0a 69 6e 73 65 |rt, and |not.inse|
|00001390| 72 74 2d 62 65 66 6f 72 | 65 2d 6d 61 72 6b 65 72 |rt-befor|e-marker|
|000013a0| 73 2e 0a 0a 4f 70 74 69 | 6f 6e 61 6c 20 74 68 69 |s...Opti|onal thi|
|000013b0| 72 64 20 61 72 67 75 6d | 65 6e 74 20 48 45 41 44 |rd argum|ent HEAD|
|000013c0| 45 52 20 69 73 20 61 20 | 73 74 72 69 6e 67 20 74 |ER is a |string t|
|000013d0| 68 61 74 20 77 69 6c 6c | 20 61 6c 77 61 79 73 20 |hat will| always |
|000013e0| 62 65 0a 70 72 65 73 65 | 6e 74 20 61 74 20 74 68 |be.prese|nt at th|
|000013f0| 65 20 74 6f 70 20 6f 66 | 20 74 68 65 20 63 6f 6c |e top of| the col|
|00001400| 6c 65 63 74 69 6f 6e 2e | 20 48 45 41 44 45 52 20 |lection.| HEADER |
|00001410| 73 68 6f 75 6c 64 20 65 | 6e 64 20 77 69 74 68 20 |should e|nd with |
|00001420| 61 0a 6e 65 77 6c 69 6e | 65 2e 20 20 4f 70 74 69 |a.newlin|e. Opti|
|00001430| 6f 6e 61 6c 79 20 66 6f | 75 72 74 68 20 61 72 67 |onaly fo|urth arg|
|00001440| 75 6d 65 6e 74 20 46 4f | 4f 54 45 52 20 69 73 20 |ument FO|OTER is |
|00001450| 73 69 6d 69 6c 61 72 2c | 20 61 6e 64 20 77 69 6c |similar,| and wil|
|00001460| 6c 0a 61 6c 77 61 79 73 | 20 62 65 20 69 6e 73 65 |l.always| be inse|
|00001470| 72 74 65 64 20 61 74 20 | 74 68 65 20 62 6f 74 74 |rted at |the bott|
|00001480| 6f 6d 20 6f 66 20 74 68 | 65 20 63 6f 6c 6c 65 63 |om of th|e collec|
|00001490| 74 69 6f 6e 2e 0a 0a 4f | 70 74 69 6f 6e 61 6c 20 |tion...O|ptional |
|000014a0| 66 69 66 74 68 20 61 72 | 67 75 6d 65 6e 74 20 50 |fifth ar|gument P|
|000014b0| 4f 53 20 69 73 20 61 20 | 62 75 66 66 65 72 20 70 |OS is a |buffer p|
|000014c0| 6f 73 69 74 69 6f 6e 2c | 20 73 70 65 63 69 66 79 |osition,| specify|
|000014d0| 69 6e 67 0a 77 68 65 72 | 65 20 74 68 65 20 63 6f |ing.wher|e the co|
|000014e0| 6c 6c 65 63 74 69 6f 6e | 20 77 69 6c 6c 20 62 65 |llection| will be|
|000014f0| 20 69 6e 73 65 72 74 65 | 64 2e 20 49 74 20 64 65 | inserte|d. It de|
|00001500| 66 61 75 6c 74 73 20 74 | 6f 20 74 68 65 0a 62 65 |faults t|o the.be|
|00001510| 67 69 6e 69 6e 67 20 6f | 66 20 74 68 65 20 62 75 |gining o|f the bu|
|00001520| 66 66 65 72 2e 1f 0a 28 | 64 65 66 61 6c 69 61 73 |ffer...(|defalias|
|00001530| 20 27 63 6f 6c 6c 65 63 | 74 69 6f 6e 2d 63 72 65 | 'collec|tion-cre|
|00001540| 61 74 65 20 23 5b 28 62 | 75 66 66 65 72 20 70 72 |ate #[(b|uffer pr|
|00001550| 65 74 74 79 2d 70 72 69 | 6e 74 65 72 20 26 6f 70 |etty-pri|nter &op|
|00001560| 74 69 6f 6e 61 6c 20 68 | 65 61 64 65 72 20 66 6f |tional h|eader fo|
|00001570| 6f 74 65 72 20 70 6f 73 | 29 20 22 c0 c1 5c 6e 21 |oter pos|) "..\n!|
|00001580| 0b c4 89 c5 20 25 1e 06 | 70 1e 07 0e 06 1e 08 c9 |.... %..|p.......|
|00001590| 0e 08 21 1e 5c 6e cb 0e | 08 21 71 88 cc 8e 0e 0d |..!.\n..|.!q.....|
|000015a0| ac 83 ce 16 0d 0e 0f ac | 83 ce 16 0f 0e 10 ac 85 |........|........|
|000015b0| 65 16 10 aa 8e d1 0e 10 | 21 ab 88 0e 10 d2 0e 10 |e.......|!.......|
|000015c0| 21 4c 88 d3 0e 0f 89 0e | 10 23 d3 0e 0d 89 0e 10 |!L......|.#......|
|000015d0| 23 1e 14 1e 15 d6 0e 5c | 6e 0e 14 5c 22 88 d7 0e |#......\|n..\"...|
|000015e0| 5c 6e 0e 15 5c 22 88 d8 | 0e 06 d9 0e 5c 6e da 5c |\n..\"..|....\n.\|
|000015f0| 22 5c 22 88 db 0e 06 d9 | 0e 5c 6e dc 5c 22 5c 22 |"\".....|.\n.\"\"|
|00001600| 88 2e 06 0e 06 29 87 22 | 20 5b 65 6c 69 62 2d 63 |.....)."| [elib-c|
|00001610| 72 65 61 74 65 2d 63 6f | 6c 6c 65 63 74 69 6f 6e |reate-co|llection|
|00001620| 20 67 65 74 2d 62 75 66 | 66 65 72 2d 63 72 65 61 | get-buf|fer-crea|
|00001630| 74 65 20 62 75 66 66 65 | 72 20 70 72 65 74 74 79 |te buffe|r pretty|
|00001640| 2d 70 72 69 6e 74 65 72 | 20 6e 69 6c 20 64 6c 6c |-printer| nil dll|
|00001650| 2d 63 72 65 61 74 65 20 | 6e 65 77 2d 63 6f 6c 6c |-create |new-coll|
|00001660| 65 63 74 69 6f 6e 20 6f | 6c 64 2d 62 75 66 66 65 |ection o|ld-buffe|
|00001670| 72 20 63 6f 6c 6c 65 63 | 74 69 6f 6e 20 65 6c 69 |r collec|tion eli|
|00001680| 62 2d 63 6f 6c 6c 65 63 | 74 69 6f 6e 2d 3e 64 6c |b-collec|tion->dl|
|00001690| 6c 20 64 6c 6c 20 65 6c | 69 62 2d 63 6f 6c 6c 65 |l dll el|ib-colle|
|000016a0| 63 74 69 6f 6e 2d 3e 62 | 75 66 66 65 72 20 28 28 |ction->b|uffer ((|
|000016b0| 73 65 74 2d 62 75 66 66 | 65 72 20 6f 6c 64 2d 62 |set-buff|er old-b|
|000016c0| 75 66 66 65 72 29 29 20 | 68 65 61 64 65 72 20 22 |uffer)) |header "|
|000016d0| 22 20 66 6f 6f 74 65 72 | 20 70 6f 73 20 6d 61 72 |" footer| pos mar|
|000016e0| 6b 65 72 70 20 6d 61 72 | 6b 65 72 2d 70 6f 73 69 |kerp mar|ker-posi|
|000016f0| 74 69 6f 6e 20 65 6c 69 | 62 2d 63 72 65 61 74 65 |tion eli|b-create|
|00001700| 2d 77 72 61 70 70 65 72 | 2d 61 6e 64 2d 69 6e 73 |-wrapper|-and-ins|
|00001710| 65 72 74 20 68 65 61 64 | 20 66 6f 6f 74 20 64 6c |ert head| foot dl|
|00001720| 6c 2d 65 6e 74 65 72 2d | 66 69 72 73 74 20 64 6c |l-enter-|first dl|
|00001730| 6c 2d 65 6e 74 65 72 2d | 6c 61 73 74 20 65 6c 69 |l-enter-|last eli|
|00001740| 62 2d 73 65 74 2d 63 6f | 6c 6c 65 63 74 69 6f 6e |b-set-co|llection|
|00001750| 2d 3e 68 65 61 64 65 72 | 20 64 6c 6c 2d 6e 74 68 |->header| dll-nth|
|00001760| 20 30 20 65 6c 69 62 2d | 73 65 74 2d 63 6f 6c 6c | 0 elib-|set-coll|
|00001770| 65 63 74 69 6f 6e 2d 3e | 66 6f 6f 74 65 72 20 2d |ection->|footer -|
|00001780| 31 5d 20 36 20 28 23 24 | 20 2e 20 34 34 37 38 29 |1] 6 (#$| . 4478)|
|00001790| 5d 29 0a 23 40 35 30 20 | 47 65 74 20 74 68 65 20 |]).#@50 |Get the |
|000017a0| 63 6f 6f 6b 69 65 20 66 | 72 6f 6d 20 61 20 54 49 |cookie f|rom a TI|
|000017b0| 4e 2e 20 41 72 67 73 3a | 20 43 4f 4c 4c 45 43 54 |N. Args:| COLLECT|
|000017c0| 49 4f 4e 20 54 49 4e 2e | 1f 0a 28 64 65 66 61 6c |ION TIN.|..(defal|
|000017d0| 69 61 73 20 27 74 69 6e | 2d 63 6f 6f 6b 69 65 20 |ias 'tin|-cookie |
|000017e0| 23 5b 28 63 6f 6c 6c 65 | 63 74 69 6f 6e 20 74 69 |#[(colle|ction ti|
|000017f0| 6e 29 20 22 c0 09 c2 48 | 21 87 22 20 5b 65 6c 69 |n) "...H|!." [eli|
|00001800| 62 2d 77 72 61 70 70 65 | 72 2d 3e 63 6f 6f 6b 69 |b-wrappe|r->cooki|
|00001810| 65 20 74 69 6e 20 32 5d | 20 33 20 28 23 24 20 2e |e tin 2]| 3 (#$ .|
|00001820| 20 36 30 34 30 29 5d 29 | 0a 23 40 38 34 20 45 6e | 6040)])|.#@84 En|
|00001830| 74 65 72 20 61 20 43 4f | 4f 4b 49 45 20 66 69 72 |ter a CO|OKIE fir|
|00001840| 73 74 20 69 6e 20 74 68 | 65 20 63 6f 6f 6b 69 65 |st in th|e cookie|
|00001850| 20 63 6f 6c 6c 65 63 74 | 69 6f 6e 20 43 4f 4c 4c | collect|ion COLL|
|00001860| 45 43 54 49 4f 4e 2e 0a | 41 72 67 73 3a 20 43 4f |ECTION..|Args: CO|
|00001870| 4c 4c 45 43 54 49 4f 4e | 20 43 4f 4f 4b 49 45 2e |LLECTION| COOKIE.|
|00001880| 1f 0a 28 64 65 66 61 6c | 69 61 73 20 27 63 6f 6f |..(defal|ias 'coo|
|00001890| 6b 69 65 2d 65 6e 74 65 | 72 2d 66 69 72 73 74 20 |kie-ente|r-first |
|000018a0| 23 5b 28 63 6f 6c 6c 65 | 63 74 69 6f 6e 20 63 6f |#[(colle|ction co|
|000018b0| 6f 6b 69 65 29 20 22 70 | 18 09 1a c3 5c 6e 21 1c |okie) "p|....\n!.|
|000018c0| c5 5c 6e 21 71 88 c6 8e | c7 0c c8 0c c9 5c 22 ca |.\n!q...|.....\".|
|000018d0| 0e 0b cc 09 21 cd c8 0c | ce 5c 22 cf 48 21 23 23 |....!...|.\".H!##|
|000018e0| 2c 87 22 20 5b 6f 6c 64 | 2d 62 75 66 66 65 72 20 |,." [old|-buffer |
|000018f0| 63 6f 6c 6c 65 63 74 69 | 6f 6e 20 63 6f 6c 6c 65 |collecti|on colle|
|00001900| 63 74 69 6f 6e 20 65 6c | 69 62 2d 63 6f 6c 6c 65 |ction el|ib-colle|
|00001910| 63 74 69 6f 6e 2d 3e 64 | 6c 6c 20 64 6c 6c 20 65 |ction->d|ll dll e|
|00001920| 6c 69 62 2d 63 6f 6c 6c | 65 63 74 69 6f 6e 2d 3e |lib-coll|ection->|
|00001930| 62 75 66 66 65 72 20 28 | 28 73 65 74 2d 62 75 66 |buffer (|(set-buf|
|00001940| 66 65 72 20 6f 6c 64 2d | 62 75 66 66 65 72 29 29 |fer old-|buffer))|
|00001950| 20 64 6c 6c 2d 65 6e 74 | 65 72 2d 61 66 74 65 72 | dll-ent|er-after|
|00001960| 20 64 6c 6c 2d 6e 74 68 | 20 30 20 65 6c 69 62 2d | dll-nth| 0 elib-|
|00001970| 63 72 65 61 74 65 2d 77 | 72 61 70 70 65 72 2d 61 |create-w|rapper-a|
|00001980| 6e 64 2d 70 72 65 74 74 | 79 2d 70 72 69 6e 74 20 |nd-prett|y-print |
|00001990| 63 6f 6f 6b 69 65 20 65 | 6c 69 62 2d 63 6f 6c 6c |cookie e|lib-coll|
|000019a0| 65 63 74 69 6f 6e 2d 3e | 70 72 65 74 74 79 2d 70 |ection->|pretty-p|
|000019b0| 72 69 6e 74 65 72 20 65 | 6c 69 62 2d 77 72 61 70 |rinter e|lib-wrap|
|000019c0| 70 65 72 2d 3e 73 74 61 | 72 74 2d 6d 61 72 6b 65 |per->sta|rt-marke|
|000019d0| 72 20 31 20 32 5d 20 31 | 30 20 28 23 24 20 2e 20 |r 1 2] 1|0 (#$ . |
|000019e0| 36 31 39 30 29 5d 29 0a | 23 40 38 33 20 45 6e 74 |6190)]).|#@83 Ent|
|000019f0| 65 72 20 61 20 43 4f 4f | 4b 49 45 20 6c 61 73 74 |er a COO|KIE last|
|00001a00| 20 69 6e 20 74 68 65 20 | 63 6f 6f 6b 69 65 2d 63 | in the |cookie-c|
|00001a10| 6f 6c 6c 65 63 74 69 6f | 6e 20 43 4f 4c 4c 45 43 |ollectio|n COLLEC|
|00001a20| 54 49 4f 4e 2e 0a 41 72 | 67 73 3a 20 43 4f 4c 4c |TION..Ar|gs: COLL|
|00001a30| 45 43 54 49 4f 4e 20 43 | 4f 4f 4b 49 45 2e 1f 0a |ECTION C|OOKIE...|
|00001a40| 28 64 65 66 61 6c 69 61 | 73 20 27 63 6f 6f 6b 69 |(defalia|s 'cooki|
|00001a50| 65 2d 65 6e 74 65 72 2d | 6c 61 73 74 20 23 5b 28 |e-enter-|last #[(|
|00001a60| 63 6f 6c 6c 65 63 74 69 | 6f 6e 20 63 6f 6f 6b 69 |collecti|on cooki|
|00001a70| 65 29 20 22 70 18 09 1a | c3 5c 6e 21 1c c5 5c 6e |e) "p...|.\n!..\n|
|00001a80| 21 71 88 c6 8e c7 0c c8 | 0c c9 5c 22 ca 0e 0b cc |!q......|..\"....|
|00001a90| 09 21 cd ce 0c 21 21 23 | 23 2c 87 22 20 5b 6f 6c |.!...!!#|#,." [ol|
|00001aa0| 64 2d 62 75 66 66 65 72 | 20 63 6f 6c 6c 65 63 74 |d-buffer| collect|
|00001ab0| 69 6f 6e 20 63 6f 6c 6c | 65 63 74 69 6f 6e 20 65 |ion coll|ection e|
|00001ac0| 6c 69 62 2d 63 6f 6c 6c | 65 63 74 69 6f 6e 2d 3e |lib-coll|ection->|
|00001ad0| 64 6c 6c 20 64 6c 6c 20 | 65 6c 69 62 2d 63 6f 6c |dll dll |elib-col|
|00001ae0| 6c 65 63 74 69 6f 6e 2d | 3e 62 75 66 66 65 72 20 |lection-|>buffer |
|00001af0| 28 28 73 65 74 2d 62 75 | 66 66 65 72 20 6f 6c 64 |((set-bu|ffer old|
|00001b00| 2d 62 75 66 66 65 72 29 | 29 20 64 6c 6c 2d 65 6e |-buffer)|) dll-en|
|00001b10| 74 65 72 2d 62 65 66 6f | 72 65 20 64 6c 6c 2d 6e |ter-befo|re dll-n|
|00001b20| 74 68 20 2d 31 20 65 6c | 69 62 2d 63 72 65 61 74 |th -1 el|ib-creat|
|00001b30| 65 2d 77 72 61 70 70 65 | 72 2d 61 6e 64 2d 70 72 |e-wrappe|r-and-pr|
|00001b40| 65 74 74 79 2d 70 72 69 | 6e 74 20 63 6f 6f 6b 69 |etty-pri|nt cooki|
|00001b50| 65 20 65 6c 69 62 2d 63 | 6f 6c 6c 65 63 74 69 6f |e elib-c|ollectio|
|00001b60| 6e 2d 3e 70 72 65 74 74 | 79 2d 70 72 69 6e 74 65 |n->prett|y-printe|
|00001b70| 72 20 65 6c 69 62 2d 77 | 72 61 70 70 65 72 2d 3e |r elib-w|rapper->|
|00001b80| 73 74 61 72 74 2d 6d 61 | 72 6b 65 72 20 64 6c 6c |start-ma|rker dll|
|00001b90| 2d 6c 61 73 74 5d 20 39 | 20 28 23 24 20 2e 20 36 |-last] 9| (#$ . 6|
|00001ba0| 36 33 37 29 5d 29 0a 23 | 40 36 30 20 45 6e 74 65 |637)]).#|@60 Ente|
|00001bb0| 72 20 61 20 6e 65 77 20 | 43 4f 4f 4b 49 45 20 61 |r a new |COOKIE a|
|00001bc0| 66 74 65 72 20 54 49 4e | 2e 0a 41 72 67 73 3a 20 |fter TIN|..Args: |
|00001bd0| 43 4f 4c 4c 45 43 54 49 | 4f 4e 20 54 49 4e 20 43 |COLLECTI|ON TIN C|
|00001be0| 4f 4f 4b 49 45 2e 1f 0a | 28 64 65 66 61 6c 69 61 |OOKIE...|(defalia|
|00001bf0| 73 20 27 63 6f 6f 6b 69 | 65 2d 65 6e 74 65 72 2d |s 'cooki|e-enter-|
|00001c00| 61 66 74 65 72 2d 74 69 | 6e 20 23 5b 28 63 6f 6c |after-ti|n #[(col|
|00001c10| 6c 65 63 74 69 6f 6e 20 | 74 69 6e 20 63 6f 6f 6b |lection |tin cook|
|00001c20| 69 65 29 20 22 70 18 09 | 1a c3 5c 6e 21 1c c5 5c |ie) "p..|..\n!..\|
|00001c30| 6e 21 71 88 c6 8e c7 0c | 0e 08 c9 0e 5c 6e cb 09 |n!q.....|....\n..|
|00001c40| 21 cc cd 0c 0e 08 5c 22 | ce 48 21 23 23 2c 87 22 |!.....\"|.H!##,."|
|00001c50| 20 5b 6f 6c 64 2d 62 75 | 66 66 65 72 20 63 6f 6c | [old-bu|ffer col|
|00001c60| 6c 65 63 74 69 6f 6e 20 | 63 6f 6c 6c 65 63 74 69 |lection |collecti|
|00001c70| 6f 6e 20 65 6c 69 62 2d | 63 6f 6c 6c 65 63 74 69 |on elib-|collecti|
|00001c80| 6f 6e 2d 3e 64 6c 6c 20 | 64 6c 6c 20 65 6c 69 62 |on->dll |dll elib|
|00001c90| 2d 63 6f 6c 6c 65 63 74 | 69 6f 6e 2d 3e 62 75 66 |-collect|ion->buf|
|00001ca0| 66 65 72 20 28 28 73 65 | 74 2d 62 75 66 66 65 72 |fer ((se|t-buffer|
|00001cb0| 20 6f 6c 64 2d 62 75 66 | 66 65 72 29 29 20 64 6c | old-buf|fer)) dl|
|00001cc0| 6c 2d 65 6e 74 65 72 2d | 61 66 74 65 72 20 74 69 |l-enter-|after ti|
|00001cd0| 6e 20 65 6c 69 62 2d 63 | 72 65 61 74 65 2d 77 72 |n elib-c|reate-wr|
|00001ce0| 61 70 70 65 72 2d 61 6e | 64 2d 70 72 65 74 74 79 |apper-an|d-pretty|
|00001cf0| 2d 70 72 69 6e 74 20 63 | 6f 6f 6b 69 65 20 65 6c |-print c|ookie el|
|00001d00| 69 62 2d 63 6f 6c 6c 65 | 63 74 69 6f 6e 2d 3e 70 |ib-colle|ction->p|
|00001d10| 72 65 74 74 79 2d 70 72 | 69 6e 74 65 72 20 65 6c |retty-pr|inter el|
|00001d20| 69 62 2d 77 72 61 70 70 | 65 72 2d 3e 73 74 61 72 |ib-wrapp|er->star|
|00001d30| 74 2d 6d 61 72 6b 65 72 | 20 64 6c 6c 2d 6e 65 78 |t-marker| dll-nex|
|00001d40| 74 20 32 5d 20 31 30 20 | 28 23 24 20 2e 20 37 30 |t 2] 10 |(#$ . 70|
|00001d50| 38 34 29 5d 29 0a 23 40 | 36 31 20 45 6e 74 65 72 |84)]).#@|61 Enter|
|00001d60| 20 61 20 6e 65 77 20 43 | 4f 4f 4b 49 45 20 62 65 | a new C|OOKIE be|
|00001d70| 66 6f 72 65 20 54 49 4e | 2e 0a 41 72 67 73 3a 20 |fore TIN|..Args: |
|00001d80| 43 4f 4c 4c 45 43 54 49 | 4f 4e 20 54 49 4e 20 43 |COLLECTI|ON TIN C|
|00001d90| 4f 4f 4b 49 45 2e 1f 0a | 28 64 65 66 61 6c 69 61 |OOKIE...|(defalia|
|00001da0| 73 20 27 63 6f 6f 6b 69 | 65 2d 65 6e 74 65 72 2d |s 'cooki|e-enter-|
|00001db0| 62 65 66 6f 72 65 2d 74 | 69 6e 20 23 5b 28 63 6f |before-t|in #[(co|
|00001dc0| 6c 6c 65 63 74 69 6f 6e | 20 74 69 6e 20 63 6f 6f |llection| tin coo|
|00001dd0| 6b 69 65 29 20 22 70 18 | 09 1a c3 5c 6e 21 1c c5 |kie) "p.|...\n!..|
|00001de0| 5c 6e 21 71 88 c6 8e c7 | 0c 0e 08 c9 0e 5c 6e cb |\n!q....|.....\n.|
|00001df0| 09 21 cc 0e 08 cd 48 21 | 23 23 2c 87 22 20 5b 6f |.!....H!|##,." [o|
|00001e00| 6c 64 2d 62 75 66 66 65 | 72 20 63 6f 6c 6c 65 63 |ld-buffe|r collec|
|00001e10| 74 69 6f 6e 20 63 6f 6c | 6c 65 63 74 69 6f 6e 20 |tion col|lection |
|00001e20| 65 6c 69 62 2d 63 6f 6c | 6c 65 63 74 69 6f 6e 2d |elib-col|lection-|
|00001e30| 3e 64 6c 6c 20 64 6c 6c | 20 65 6c 69 62 2d 63 6f |>dll dll| elib-co|
|00001e40| 6c 6c 65 63 74 69 6f 6e | 2d 3e 62 75 66 66 65 72 |llection|->buffer|
|00001e50| 20 28 28 73 65 74 2d 62 | 75 66 66 65 72 20 6f 6c | ((set-b|uffer ol|
|00001e60| 64 2d 62 75 66 66 65 72 | 29 29 20 64 6c 6c 2d 65 |d-buffer|)) dll-e|
|00001e70| 6e 74 65 72 2d 62 65 66 | 6f 72 65 20 74 69 6e 20 |nter-bef|ore tin |
|00001e80| 65 6c 69 62 2d 63 72 65 | 61 74 65 2d 77 72 61 70 |elib-cre|ate-wrap|
|00001e90| 70 65 72 2d 61 6e 64 2d | 70 72 65 74 74 79 2d 70 |per-and-|pretty-p|
|00001ea0| 72 69 6e 74 20 63 6f 6f | 6b 69 65 20 65 6c 69 62 |rint coo|kie elib|
|00001eb0| 2d 63 6f 6c 6c 65 63 74 | 69 6f 6e 2d 3e 70 72 65 |-collect|ion->pre|
|00001ec0| 74 74 79 2d 70 72 69 6e | 74 65 72 20 65 6c 69 62 |tty-prin|ter elib|
|00001ed0| 2d 77 72 61 70 70 65 72 | 2d 3e 73 74 61 72 74 2d |-wrapper|->start-|
|00001ee0| 6d 61 72 6b 65 72 20 32 | 5d 20 39 20 28 23 24 20 |marker 2|] 9 (#$ |
|00001ef0| 2e 20 37 35 31 35 29 5d | 29 0a 23 40 38 37 20 47 |. 7515)]|).#@87 G|
|00001f00| 65 74 20 74 68 65 20 6e | 65 78 74 20 74 69 6e 2e |et the n|ext tin.|
|00001f10| 20 41 72 67 73 3a 20 43 | 4f 4c 4c 45 43 54 49 4f | Args: C|OLLECTIO|
|00001f20| 4e 20 54 49 4e 2e 0a 52 | 65 74 75 72 6e 73 20 6e |N TIN..R|eturns n|
|00001f30| 69 6c 20 69 66 20 54 49 | 4e 20 69 73 20 6e 69 6c |il if TI|N is nil|
|00001f40| 20 6f 72 20 74 68 65 20 | 6c 61 73 74 20 63 6f 6f | or the |last coo|
|00001f50| 6b 69 65 2e 1f 0a 28 64 | 65 66 61 6c 69 61 73 20 |kie...(d|efalias |
|00001f60| 27 74 69 6e 2d 6e 65 78 | 74 20 23 5b 28 63 6f 6c |'tin-nex|t #[(col|
|00001f70| 6c 65 63 74 69 6f 6e 20 | 74 69 6e 29 20 22 08 ad |lection |tin) "..|
|00001f80| 9a c1 c2 0b 21 08 5c 22 | 0b 1c 89 1d c6 0c 21 61 |....!.\"|......!a|
|00001f90| ae 85 0d c7 0c 21 61 3f | ad 81 0d 2a 87 22 20 5b |.....!a?|...*." [|
|00001fa0| 74 69 6e 20 64 6c 6c 2d | 6e 65 78 74 20 65 6c 69 |tin dll-|next eli|
|00001fb0| 62 2d 63 6f 6c 6c 65 63 | 74 69 6f 6e 2d 3e 64 6c |b-collec|tion->dl|
|00001fc0| 6c 20 63 6f 6c 6c 65 63 | 74 69 6f 6e 20 74 6d 70 |l collec|tion tmp|
|00001fd0| 63 6f 6c 6c 65 63 74 69 | 6f 6e 20 74 69 6e 20 65 |collecti|on tin e|
|00001fe0| 6c 69 62 2d 63 6f 6c 6c | 65 63 74 69 6f 6e 2d 3e |lib-coll|ection->|
|00001ff0| 68 65 61 64 65 72 20 65 | 6c 69 62 2d 63 6f 6c 6c |header e|lib-coll|
|00002000| 65 63 74 69 6f 6e 2d 3e | 66 6f 6f 74 65 72 5d 20 |ection->|footer] |
|00002010| 34 20 28 23 24 20 2e 20 | 37 39 33 35 29 5d 29 0a |4 (#$ . |7935)]).|
|00002020| 23 40 39 32 20 47 65 74 | 20 74 68 65 20 70 72 65 |#@92 Get| the pre|
|00002030| 76 69 6f 75 73 20 74 69 | 6e 2e 20 41 72 67 73 3a |vious ti|n. Args:|
|00002040| 20 43 4f 4c 4c 45 43 54 | 49 4f 4e 20 54 49 4e 2e | COLLECT|ION TIN.|
|00002050| 0a 52 65 74 75 72 6e 73 | 20 6e 69 6c 20 69 66 20 |.Returns| nil if |
|00002060| 54 49 4e 20 69 73 20 6e | 69 6c 20 6f 72 20 74 68 |TIN is n|il or th|
|00002070| 65 20 66 69 72 73 74 20 | 63 6f 6f 6b 69 65 2e 1f |e first |cookie..|
|00002080| 0a 28 64 65 66 61 6c 69 | 61 73 20 27 74 69 6e 2d |.(defali|as 'tin-|
|00002090| 70 72 65 76 69 6f 75 73 | 20 23 5b 28 63 6f 6c 6c |previous| #[(coll|
|000020a0| 65 63 74 69 6f 6e 20 74 | 69 6e 29 20 22 08 ad 9a |ection t|in) "...|
|000020b0| c1 c2 0b 21 08 5c 22 0b | 1c 89 1d c6 0c 21 61 ae |...!.\".|.....!a.|
|000020c0| 85 0d c7 0c 21 61 3f ad | 81 0d 2a 87 22 20 5b 74 |....!a?.|..*." [t|
|000020d0| 69 6e 20 64 6c 6c 2d 70 | 72 65 76 69 6f 75 73 20 |in dll-p|revious |
|000020e0| 65 6c 69 62 2d 63 6f 6c | 6c 65 63 74 69 6f 6e 2d |elib-col|lection-|
|000020f0| 3e 64 6c 6c 20 63 6f 6c | 6c 65 63 74 69 6f 6e 20 |>dll col|lection |
|00002100| 74 6d 70 63 6f 6c 6c 65 | 63 74 69 6f 6e 20 74 69 |tmpcolle|ction ti|
|00002110| 6e 20 65 6c 69 62 2d 63 | 6f 6c 6c 65 63 74 69 6f |n elib-c|ollectio|
|00002120| 6e 2d 3e 68 65 61 64 65 | 72 20 65 6c 69 62 2d 63 |n->heade|r elib-c|
|00002130| 6f 6c 6c 65 63 74 69 6f | 6e 2d 3e 66 6f 6f 74 65 |ollectio|n->foote|
|00002140| 72 5d 20 34 20 28 23 24 | 20 2e 20 38 32 32 39 29 |r] 4 (#$| . 8229)|
|00002150| 5d 29 0a 23 40 33 33 32 | 20 52 65 74 75 72 6e 20 |]).#@332| Return |
|00002160| 74 68 65 20 4e 74 68 20 | 74 69 6e 2e 20 41 72 67 |the Nth |tin. Arg|
|00002170| 73 3a 20 43 4f 4c 4c 45 | 43 54 49 4f 4e 20 4e 2e |s: COLLE|CTION N.|
|00002180| 0a 4e 20 63 6f 75 6e 74 | 73 20 66 72 6f 6d 20 7a |.N count|s from z|
|00002190| 65 72 6f 2e 20 4e 69 6c | 20 69 73 20 72 65 74 75 |ero. Nil| is retu|
|000021a0| 72 6e 65 64 20 69 66 20 | 74 68 65 72 65 20 69 73 |rned if |there is|
|000021b0| 20 6c 65 73 73 20 74 68 | 61 6e 20 4e 20 63 6f 6f | less th|an N coo|
|000021c0| 6b 69 65 73 2e 0a 49 66 | 20 4e 20 69 73 20 6e 65 |kies..If| N is ne|
|000021d0| 67 61 74 69 76 65 2c 20 | 72 65 74 75 72 6e 20 74 |gative, |return t|
|000021e0| 68 65 20 2d 28 4e 2b 31 | 29 74 68 20 6c 61 73 74 |he -(N+1|)th last|
|000021f0| 20 65 6c 65 6d 65 6e 74 | 2e 0a 54 68 75 73 2c 20 | element|..Thus, |
|00002200| 28 74 69 6e 2d 6e 74 68 | 20 64 6c 6c 20 30 29 20 |(tin-nth| dll 0) |
|00002210| 72 65 74 75 72 6e 73 20 | 74 68 65 20 66 69 72 73 |returns |the firs|
|00002220| 74 20 6e 6f 64 65 2c 0a | 61 6e 64 20 28 74 69 6e |t node,.|and (tin|
|00002230| 2d 6e 74 68 20 64 6c 6c | 20 2d 31 29 20 72 65 74 |-nth dll| -1) ret|
|00002240| 75 72 6e 73 20 74 68 65 | 20 6c 61 73 74 20 6e 6f |urns the| last no|
|00002250| 64 65 2e 0a 0a 55 73 65 | 20 74 69 6e 2d 63 6f 6f |de...Use| tin-coo|
|00002260| 6b 69 65 20 74 6f 20 65 | 78 74 72 61 63 74 20 74 |kie to e|xtract t|
|00002270| 68 65 20 63 6f 6f 6b 69 | 65 20 66 72 6f 6d 20 74 |he cooki|e from t|
|00002280| 68 65 20 74 69 6e 20 28 | 6f 72 20 75 73 65 0a 63 |he tin (|or use.c|
|00002290| 6f 6f 6b 69 65 2d 6e 74 | 68 20 69 6e 73 74 65 61 |ookie-nt|h instea|
|000022a0| 64 29 2e 1f 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |d)...(de|falias '|
|000022b0| 74 69 6e 2d 6e 74 68 20 | 23 5b 28 63 6f 6c 6c 65 |tin-nth |#[(colle|
|000022c0| 63 74 69 6f 6e 20 6e 29 | 20 22 08 c1 57 ab 85 08 |ction n)| "..W...|
|000022d0| 53 10 aa 83 08 54 10 c2 | c3 0c 21 08 5c 22 0c 1d |S....T..|..!.\"..|
|000022e0| 89 1e 06 c7 0d 21 61 ae | 86 0e 06 c8 0d 21 61 3f |.....!a.|.....!a?|
|000022f0| ad 82 0e 06 2a 87 22 20 | 5b 6e 20 30 20 64 6c 6c |....*." |[n 0 dll|
|00002300| 2d 6e 74 68 20 65 6c 69 | 62 2d 63 6f 6c 6c 65 63 |-nth eli|b-collec|
|00002310| 74 69 6f 6e 2d 3e 64 6c | 6c 20 63 6f 6c 6c 65 63 |tion->dl|l collec|
|00002320| 74 69 6f 6e 20 74 6d 70 | 63 6f 6c 6c 65 63 74 69 |tion tmp|collecti|
|00002330| 6f 6e 20 74 69 6e 20 65 | 6c 69 62 2d 63 6f 6c 6c |on tin e|lib-coll|
|00002340| 65 63 74 69 6f 6e 2d 3e | 68 65 61 64 65 72 20 65 |ection->|header e|
|00002350| 6c 69 62 2d 63 6f 6c 6c | 65 63 74 69 6f 6e 2d 3e |lib-coll|ection->|
|00002360| 66 6f 6f 74 65 72 5d 20 | 34 20 28 23 24 20 2e 20 |footer] |4 (#$ . |
|00002370| 38 35 33 37 29 5d 29 0a | 23 40 32 36 35 20 52 65 |8537)]).|#@265 Re|
|00002380| 74 75 72 6e 20 74 68 65 | 20 4e 74 68 20 63 6f 6f |turn the| Nth coo|
|00002390| 6b 69 65 2e 20 41 72 67 | 73 3a 20 43 4f 4c 4c 45 |kie. Arg|s: COLLE|
|000023a0| 43 54 49 4f 4e 20 4e 2e | 0a 4e 20 63 6f 75 6e 74 |CTION N.|.N count|
|000023b0| 73 20 66 72 6f 6d 20 7a | 65 72 6f 2e 20 4e 69 6c |s from z|ero. Nil|
|000023c0| 20 69 73 20 72 65 74 75 | 72 6e 65 64 20 69 66 20 | is retu|rned if |
|000023d0| 74 68 65 72 65 20 69 73 | 20 6c 65 73 73 20 74 68 |there is| less th|
|000023e0| 61 6e 20 4e 20 63 6f 6f | 6b 69 65 73 2e 0a 49 66 |an N coo|kies..If|
|000023f0| 20 4e 20 69 73 20 6e 65 | 67 61 74 69 76 65 2c 20 | N is ne|gative, |
|00002400| 72 65 74 75 72 6e 20 74 | 68 65 20 2d 28 4e 2b 31 |return t|he -(N+1|
|00002410| 29 74 68 20 6c 61 73 74 | 20 65 6c 65 6d 65 6e 74 |)th last| element|
|00002420| 2e 0a 54 68 75 73 2c 20 | 28 63 6f 6f 6b 69 65 2d |..Thus, |(cookie-|
|00002430| 6e 74 68 20 64 6c 6c 20 | 30 29 20 72 65 74 75 72 |nth dll |0) retur|
|00002440| 6e 73 20 74 68 65 20 66 | 69 72 73 74 20 63 6f 6f |ns the f|irst coo|
|00002450| 6b 69 65 2c 0a 61 6e 64 | 20 28 63 6f 6f 6b 69 65 |kie,.and| (cookie|
|00002460| 2d 6e 74 68 20 64 6c 6c | 20 2d 31 29 20 72 65 74 |-nth dll| -1) ret|
|00002470| 75 72 6e 73 20 74 68 65 | 20 6c 61 73 74 20 63 6f |urns the| last co|
|00002480| 6f 6b 69 65 2e 1f 0a 28 | 64 65 66 61 6c 69 61 73 |okie...(|defalias|
|00002490| 20 27 63 6f 6f 6b 69 65 | 2d 6e 74 68 20 23 5b 28 | 'cookie|-nth #[(|
|000024a0| 63 6f 6c 6c 65 63 74 69 | 6f 6e 20 6e 29 20 22 08 |collecti|on n) ".|
|000024b0| c1 57 ab 85 08 53 10 aa | 83 08 54 10 c2 0b 21 1c |.W...S..|..T...!.|
|000024c0| c5 0c 08 5c 22 0b 1e 06 | 89 1e 07 c8 0e 06 21 61 |...\"...|......!a|
|000024d0| ae 87 0e 07 c9 0e 06 21 | 61 3f ad 82 0e 07 2a 89 |.......!|a?....*.|
|000024e0| 1e 5c 6e ad 86 cb 0e 5c | 6e cc 48 21 2a 87 22 20 |.\n....\|n.H!*." |
|000024f0| 5b 6e 20 30 20 65 6c 69 | 62 2d 63 6f 6c 6c 65 63 |[n 0 eli|b-collec|
|00002500| 74 69 6f 6e 2d 3e 64 6c | 6c 20 63 6f 6c 6c 65 63 |tion->dl|l collec|
|00002510| 74 69 6f 6e 20 64 6c 6c | 20 64 6c 6c 2d 6e 74 68 |tion dll| dll-nth|
|00002520| 20 74 6d 70 63 6f 6c 6c | 65 63 74 69 6f 6e 20 74 | tmpcoll|ection t|
|00002530| 69 6e 20 65 6c 69 62 2d | 63 6f 6c 6c 65 63 74 69 |in elib-|collecti|
|00002540| 6f 6e 2d 3e 68 65 61 64 | 65 72 20 65 6c 69 62 2d |on->head|er elib-|
|00002550| 63 6f 6c 6c 65 63 74 69 | 6f 6e 2d 3e 66 6f 6f 74 |collecti|on->foot|
|00002560| 65 72 20 74 69 6e 20 65 | 6c 69 62 2d 77 72 61 70 |er tin e|lib-wrap|
|00002570| 70 65 72 2d 3e 63 6f 6f | 6b 69 65 20 32 5d 20 34 |per->coo|kie 2] 4|
|00002580| 20 28 23 24 20 2e 20 39 | 30 38 36 29 5d 29 0a 23 | (#$ . 9|086)]).#|
|00002590| 40 39 30 20 44 65 6c 65 | 74 65 20 61 20 74 69 6e |@90 Dele|te a tin|
|000025a0| 20 66 72 6f 6d 20 61 20 | 63 6f 6c 6c 65 63 74 69 | from a |collecti|
|000025b0| 6f 6e 2e 20 41 72 67 73 | 3a 20 43 4f 4c 4c 45 43 |on. Args|: COLLEC|
|000025c0| 54 49 4f 4e 20 54 49 4e | 2e 0a 54 68 65 20 63 6f |TION TIN|..The co|
|000025d0| 6f 6b 69 65 20 69 6e 20 | 74 68 65 20 74 69 6e 20 |okie in |the tin |
|000025e0| 69 73 20 72 65 74 75 72 | 6e 65 64 2e 1f 0a 28 64 |is retur|ned...(d|
|000025f0| 65 66 61 6c 69 61 73 20 | 27 74 69 6e 2d 64 65 6c |efalias |'tin-del|
|00002600| 65 74 65 20 23 5b 28 63 | 6f 6c 6c 65 63 74 69 6f |ete #[(c|ollectio|
|00002610| 6e 20 74 69 6e 29 20 22 | 70 18 09 1a c3 5c 6e 21 |n tin) "|p....\n!|
|00002620| 1c c5 5c 6e 21 71 88 c6 | 8e c7 c8 09 0e 09 5c 22 |..\n!q..|......\"|
|00002630| 21 2c 87 22 20 5b 6f 6c | 64 2d 62 75 66 66 65 72 |!,." [ol|d-buffer|
|00002640| 20 63 6f 6c 6c 65 63 74 | 69 6f 6e 20 63 6f 6c 6c | collect|ion coll|
|00002650| 65 63 74 69 6f 6e 20 65 | 6c 69 62 2d 63 6f 6c 6c |ection e|lib-coll|
|00002660| 65 63 74 69 6f 6e 2d 3e | 64 6c 6c 20 64 6c 6c 20 |ection->|dll dll |
|00002670| 65 6c 69 62 2d 63 6f 6c | 6c 65 63 74 69 6f 6e 2d |elib-col|lection-|
|00002680| 3e 62 75 66 66 65 72 20 | 28 28 73 65 74 2d 62 75 |>buffer |((set-bu|
|00002690| 66 66 65 72 20 6f 6c 64 | 2d 62 75 66 66 65 72 29 |ffer old|-buffer)|
|000026a0| 29 20 65 6c 69 62 2d 77 | 72 61 70 70 65 72 2d 3e |) elib-w|rapper->|
|000026b0| 63 6f 6f 6b 69 65 20 65 | 6c 69 62 2d 64 65 6c 65 |cookie e|lib-dele|
|000026c0| 74 65 2d 74 69 6e 2d 69 | 6e 74 65 72 6e 61 6c 20 |te-tin-i|nternal |
|000026d0| 74 69 6e 5d 20 34 20 28 | 23 24 20 2e 20 39 36 32 |tin] 4 (|#$ . 962|
|000026e0| 30 29 5d 29 0a 23 40 31 | 31 34 20 44 65 6c 65 74 |0)]).#@1|14 Delet|
|000026f0| 65 20 66 69 72 73 74 20 | 63 6f 6f 6b 69 65 20 61 |e first |cookie a|
|00002700| 6e 64 20 72 65 74 75 72 | 6e 20 69 74 2e 20 41 72 |nd retur|n it. Ar|
|00002710| 67 73 3a 20 43 4f 4c 4c | 45 43 54 49 4f 4e 2e 0a |gs: COLL|ECTION..|
|00002720| 52 65 74 75 72 6e 73 20 | 6e 69 6c 20 69 66 20 74 |Returns |nil if t|
|00002730| 68 65 72 65 20 61 72 65 | 20 6e 6f 20 63 6f 6f 6b |here are| no cook|
|00002740| 69 65 73 20 6c 65 66 74 | 20 69 6e 20 74 68 65 20 |ies left| in the |
|00002750| 63 6f 6c 6c 65 63 74 69 | 6f 6e 2e 1f 0a 28 64 65 |collecti|on...(de|
|00002760| 66 61 6c 69 61 73 20 27 | 63 6f 6f 6b 69 65 2d 64 |falias '|cookie-d|
|00002770| 65 6c 65 74 65 2d 66 69 | 72 73 74 20 23 5b 28 63 |elete-fi|rst #[(c|
|00002780| 6f 6c 6c 65 63 74 69 6f | 6e 29 20 22 70 18 09 1a |ollectio|n) "p...|
|00002790| c3 5c 6e 21 1c c5 0c c6 | 5c 22 1e 07 c8 5c 6e 21 |.\n!....|\"...\n!|
|000027a0| 71 88 c9 8e 0e 07 ca 09 | 21 61 3f ad 87 cb cc 09 |q.......|!a?.....|
|000027b0| 0e 07 5c 22 21 2d 87 22 | 20 5b 6f 6c 64 2d 62 75 |..\"!-."| [old-bu|
|000027c0| 66 66 65 72 20 63 6f 6c | 6c 65 63 74 69 6f 6e 20 |ffer col|lection |
|000027d0| 63 6f 6c 6c 65 63 74 69 | 6f 6e 20 65 6c 69 62 2d |collecti|on elib-|
|000027e0| 63 6f 6c 6c 65 63 74 69 | 6f 6e 2d 3e 64 6c 6c 20 |collecti|on->dll |
|000027f0| 64 6c 6c 20 64 6c 6c 2d | 6e 74 68 20 31 20 74 69 |dll dll-|nth 1 ti|
|00002800| 6e 20 65 6c 69 62 2d 63 | 6f 6c 6c 65 63 74 69 6f |n elib-c|ollectio|
|00002810| 6e 2d 3e 62 75 66 66 65 | 72 20 28 28 73 65 74 2d |n->buffe|r ((set-|
|00002820| 62 75 66 66 65 72 20 6f | 6c 64 2d 62 75 66 66 65 |buffer o|ld-buffe|
|00002830| 72 29 29 20 65 6c 69 62 | 2d 63 6f 6c 6c 65 63 74 |r)) elib|-collect|
|00002840| 69 6f 6e 2d 3e 66 6f 6f | 74 65 72 20 65 6c 69 62 |ion->foo|ter elib|
|00002850| 2d 77 72 61 70 70 65 72 | 2d 3e 63 6f 6f 6b 69 65 |-wrapper|->cookie|
|00002860| 20 65 6c 69 62 2d 64 65 | 6c 65 74 65 2d 74 69 6e | elib-de|lete-tin|
|00002870| 2d 69 6e 74 65 72 6e 61 | 6c 5d 20 34 20 28 23 24 |-interna|l] 4 (#$|
|00002880| 20 2e 20 39 39 36 33 29 | 5d 29 0a 23 40 31 31 31 | . 9963)|]).#@111|
|00002890| 20 44 65 6c 65 74 65 20 | 6c 61 73 74 20 63 6f 6f | Delete |last coo|
|000028a0| 6b 69 65 20 61 6e 64 20 | 72 65 74 75 72 6e 20 69 |kie and |return i|
|000028b0| 74 2e 20 41 72 67 73 3a | 20 43 4f 4c 4c 45 43 54 |t. Args:| COLLECT|
|000028c0| 49 4f 4e 2e 0a 52 65 74 | 75 72 6e 73 20 6e 69 6c |ION..Ret|urns nil|
|000028d0| 20 69 66 20 74 68 65 72 | 65 20 69 73 20 6e 6f 20 | if ther|e is no |
|000028e0| 63 6f 6f 6b 69 65 20 6c | 65 66 74 20 69 6e 20 74 |cookie l|eft in t|
|000028f0| 68 65 20 63 6f 6c 6c 65 | 63 74 69 6f 6e 2e 1f 0a |he colle|ction...|
|00002900| 28 64 65 66 61 6c 69 61 | 73 20 27 63 6f 6f 6b 69 |(defalia|s 'cooki|
|00002910| 65 2d 64 65 6c 65 74 65 | 2d 6c 61 73 74 20 23 5b |e-delete|-last #[|
|00002920| 28 63 6f 6c 6c 65 63 74 | 69 6f 6e 29 20 22 70 18 |(collect|ion) "p.|
|00002930| 09 1a c3 5c 6e 21 1c c5 | 0c c6 5c 22 1e 07 c8 5c |...\n!..|..\"...\|
|00002940| 6e 21 71 88 c9 8e 0e 07 | ca 09 21 61 3f ad 87 cb |n!q.....|..!a?...|
|00002950| cc 09 0e 07 5c 22 21 2d | 87 22 20 5b 6f 6c 64 2d |....\"!-|." [old-|
|00002960| 62 75 66 66 65 72 20 63 | 6f 6c 6c 65 63 74 69 6f |buffer c|ollectio|
|00002970| 6e 20 63 6f 6c 6c 65 63 | 74 69 6f 6e 20 65 6c 69 |n collec|tion eli|
|00002980| 62 2d 63 6f 6c 6c 65 63 | 74 69 6f 6e 2d 3e 64 6c |b-collec|tion->dl|
|00002990| 6c 20 64 6c 6c 20 64 6c | 6c 2d 6e 74 68 20 2d 32 |l dll dl|l-nth -2|
|000029a0| 20 74 69 6e 20 65 6c 69 | 62 2d 63 6f 6c 6c 65 63 | tin eli|b-collec|
|000029b0| 74 69 6f 6e 2d 3e 62 75 | 66 66 65 72 20 28 28 73 |tion->bu|ffer ((s|
|000029c0| 65 74 2d 62 75 66 66 65 | 72 20 6f 6c 64 2d 62 75 |et-buffe|r old-bu|
|000029d0| 66 66 65 72 29 29 20 65 | 6c 69 62 2d 63 6f 6c 6c |ffer)) e|lib-coll|
|000029e0| 65 63 74 69 6f 6e 2d 3e | 68 65 61 64 65 72 20 65 |ection->|header e|
|000029f0| 6c 69 62 2d 77 72 61 70 | 70 65 72 2d 3e 63 6f 6f |lib-wrap|per->coo|
|00002a00| 6b 69 65 20 65 6c 69 62 | 2d 64 65 6c 65 74 65 2d |kie elib|-delete-|
|00002a10| 74 69 6e 2d 69 6e 74 65 | 72 6e 61 6c 5d 20 34 20 |tin-inte|rnal] 4 |
|00002a20| 28 23 24 20 2e 20 31 30 | 33 38 35 29 5d 29 0a 23 |(#$ . 10|385)]).#|
|00002a30| 40 36 37 20 52 65 74 75 | 72 6e 20 74 68 65 20 66 |@67 Retu|rn the f|
|00002a40| 69 72 73 74 20 63 6f 6f | 6b 69 65 20 69 6e 20 43 |irst coo|kie in C|
|00002a50| 4f 4c 4c 45 43 54 49 4f | 4e 2e 20 54 68 65 20 63 |OLLECTIO|N. The c|
|00002a60| 6f 6f 6b 69 65 20 69 73 | 20 6e 6f 74 20 72 65 6d |ookie is| not rem|
|00002a70| 6f 76 65 64 2e 1f 0a 28 | 64 65 66 61 6c 69 61 73 |oved...(|defalias|
|00002a80| 20 27 63 6f 6f 6b 69 65 | 2d 66 69 72 73 74 20 23 | 'cookie|-first #|
|00002a90| 5b 28 63 6f 6c 6c 65 63 | 74 69 6f 6e 29 20 22 c0 |[(collec|tion) ".|
|00002aa0| 09 21 1a c3 5c 6e c4 5c | 22 09 1d 89 1e 06 c7 0d |.!..\n.\|".......|
|00002ab0| 21 61 ae 86 0e 06 c8 0d | 21 61 3f ad 82 0e 06 2a |!a......|!a?....*|
|00002ac0| 89 1e 09 ad 86 ca 0e 09 | cb 48 21 2a 87 22 20 5b |........|.H!*." [|
|00002ad0| 65 6c 69 62 2d 63 6f 6c | 6c 65 63 74 69 6f 6e 2d |elib-col|lection-|
|00002ae0| 3e 64 6c 6c 20 63 6f 6c | 6c 65 63 74 69 6f 6e 20 |>dll col|lection |
|00002af0| 64 6c 6c 20 64 6c 6c 2d | 6e 74 68 20 2d 31 20 74 |dll dll-|nth -1 t|
|00002b00| 6d 70 63 6f 6c 6c 65 63 | 74 69 6f 6e 20 74 69 6e |mpcollec|tion tin|
|00002b10| 20 65 6c 69 62 2d 63 6f | 6c 6c 65 63 74 69 6f 6e | elib-co|llection|
|00002b20| 2d 3e 68 65 61 64 65 72 | 20 65 6c 69 62 2d 63 6f |->header| elib-co|
|00002b30| 6c 6c 65 63 74 69 6f 6e | 2d 3e 66 6f 6f 74 65 72 |llection|->footer|
|00002b40| 20 74 69 6e 20 65 6c 69 | 62 2d 77 72 61 70 70 65 | tin eli|b-wrappe|
|00002b50| 72 2d 3e 63 6f 6f 6b 69 | 65 20 32 5d 20 34 20 28 |r->cooki|e 2] 4 (|
|00002b60| 23 24 20 2e 20 31 30 38 | 30 34 29 5d 29 0a 23 40 |#$ . 108|04)]).#@|
|00002b70| 36 36 20 52 65 74 75 72 | 6e 20 74 68 65 20 6c 61 |66 Retur|n the la|
|00002b80| 73 74 20 63 6f 6f 6b 69 | 65 20 69 6e 20 43 4f 4c |st cooki|e in COL|
|00002b90| 4c 45 43 54 49 4f 4e 2e | 20 54 68 65 20 63 6f 6f |LECTION.| The coo|
|00002ba0| 6b 69 65 20 69 73 20 6e | 6f 74 20 72 65 6d 6f 76 |kie is n|ot remov|
|00002bb0| 65 64 2e 1f 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |ed...(de|falias '|
|00002bc0| 63 6f 6f 6b 69 65 2d 6c | 61 73 74 20 23 5b 28 63 |cookie-l|ast #[(c|
|00002bd0| 6f 6c 6c 65 63 74 69 6f | 6e 29 20 22 c0 09 21 1a |ollectio|n) "..!.|
|00002be0| c3 5c 6e c4 5c 22 09 1d | 89 1e 06 c7 0d 21 61 ae |.\n.\"..|.....!a.|
|00002bf0| 86 0e 06 c8 0d 21 61 3f | ad 82 0e 06 2a 89 1e 09 |.....!a?|....*...|
|00002c00| ad 86 ca 0e 09 cb 48 21 | 2a 87 22 20 5b 65 6c 69 |......H!|*." [eli|
|00002c10| 62 2d 63 6f 6c 6c 65 63 | 74 69 6f 6e 2d 3e 64 6c |b-collec|tion->dl|
|00002c20| 6c 20 63 6f 6c 6c 65 63 | 74 69 6f 6e 20 64 6c 6c |l collec|tion dll|
|00002c30| 20 64 6c 6c 2d 6e 74 68 | 20 2d 32 20 74 6d 70 63 | dll-nth| -2 tmpc|
|00002c40| 6f 6c 6c 65 63 74 69 6f | 6e 20 74 69 6e 20 65 6c |ollectio|n tin el|
|00002c50| 69 62 2d 63 6f 6c 6c 65 | 63 74 69 6f 6e 2d 3e 68 |ib-colle|ction->h|
|00002c60| 65 61 64 65 72 20 65 6c | 69 62 2d 63 6f 6c 6c 65 |eader el|ib-colle|
|00002c70| 63 74 69 6f 6e 2d 3e 66 | 6f 6f 74 65 72 20 74 69 |ction->f|ooter ti|
|00002c80| 6e 20 65 6c 69 62 2d 77 | 72 61 70 70 65 72 2d 3e |n elib-w|rapper->|
|00002c90| 63 6f 6f 6b 69 65 20 32 | 5d 20 34 20 28 23 24 20 |cookie 2|] 4 (#$ |
|00002ca0| 2e 20 31 31 31 32 33 29 | 5d 29 0a 23 40 35 32 20 |. 11123)|]).#@52 |
|00002cb0| 52 65 74 75 72 6e 20 74 | 72 75 65 20 69 66 20 74 |Return t|rue if t|
|00002cc0| 68 65 72 65 20 61 72 65 | 20 6e 6f 20 63 6f 6f 6b |here are| no cook|
|00002cd0| 69 65 73 20 69 6e 20 43 | 4f 4c 4c 45 43 54 49 4f |ies in C|OLLECTIO|
|00002ce0| 4e 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 63 |N...(def|alias 'c|
|00002cf0| 6f 6c 6c 65 63 74 69 6f | 6e 2d 65 6d 70 74 79 20 |ollectio|n-empty |
|00002d00| 23 5b 28 63 6f 6c 6c 65 | 63 74 69 6f 6e 29 20 22 |#[(colle|ction) "|
|00002d10| c0 c1 5c 6e 21 c3 5c 22 | c4 5c 6e 21 61 87 22 20 |..\n!.\"|.\n!a." |
|00002d20| 5b 64 6c 6c 2d 6e 74 68 | 20 65 6c 69 62 2d 63 6f |[dll-nth| elib-co|
|00002d30| 6c 6c 65 63 74 69 6f 6e | 2d 3e 64 6c 6c 20 63 6f |llection|->dll co|
|00002d40| 6c 6c 65 63 74 69 6f 6e | 20 31 20 65 6c 69 62 2d |llection| 1 elib-|
|00002d50| 63 6f 6c 6c 65 63 74 69 | 6f 6e 2d 3e 66 6f 6f 74 |collecti|on->foot|
|00002d60| 65 72 5d 20 33 20 28 23 | 24 20 2e 20 31 31 34 34 |er] 3 (#|$ . 1144|
|00002d70| 30 29 5d 29 0a 23 40 34 | 35 20 52 65 74 75 72 6e |0)]).#@4|5 Return|
|00002d80| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 63 | the num|ber of c|
|00002d90| 6f 6f 6b 69 65 73 20 69 | 6e 20 43 4f 4c 4c 45 43 |ookies i|n COLLEC|
|00002da0| 54 49 4f 4e 2e 1f 0a 28 | 64 65 66 61 6c 69 61 73 |TION...(|defalias|
|00002db0| 20 27 63 6f 6c 6c 65 63 | 74 69 6f 6e 2d 6c 65 6e | 'collec|tion-len|
|00002dc0| 67 74 68 20 23 5b 28 63 | 6f 6c 6c 65 63 74 69 6f |gth #[(c|ollectio|
|00002dd0| 6e 29 20 22 c0 c1 5c 6e | 21 21 c3 5a 87 22 20 5b |n) "..\n|!!.Z." [|
|00002de0| 64 6c 6c 2d 6c 65 6e 67 | 74 68 20 65 6c 69 62 2d |dll-leng|th elib-|
|00002df0| 63 6f 6c 6c 65 63 74 69 | 6f 6e 2d 3e 64 6c 6c 20 |collecti|on->dll |
|00002e00| 63 6f 6c 6c 65 63 74 69 | 6f 6e 20 32 5d 20 33 20 |collecti|on 2] 3 |
|00002e10| 28 23 24 20 2e 20 31 31 | 36 34 32 29 5d 29 0a 23 |(#$ . 11|642)]).#|
|00002e20| 40 34 35 20 52 65 74 75 | 72 6e 20 61 20 6c 69 73 |@45 Retu|rn a lis|
|00002e30| 74 20 6f 66 20 61 6c 6c | 20 63 6f 6f 6b 69 65 73 |t of all| cookies|
|00002e40| 20 69 6e 20 43 4f 4c 4c | 45 43 54 49 4f 4e 2e 1f | in COLL|ECTION..|
|00002e50| 0a 28 64 65 66 61 6c 69 | 61 73 20 27 63 6f 6c 6c |.(defali|as 'coll|
|00002e60| 65 63 74 69 6f 6e 2d 6c | 69 73 74 2d 63 6f 6f 6b |ection-l|ist-cook|
|00002e70| 69 65 73 20 23 5b 28 63 | 6f 6c 6c 65 63 74 69 6f |ies #[(c|ollectio|
|00002e80| 6e 29 20 22 70 18 09 1a | c3 5c 6e 21 1c c5 1e 06 |n) "p...|.\n!....|
|00002e90| c7 09 21 1e 08 c9 0c ca | 5c 22 1e 0b cc 5c 6e 21 |..!.....|\"...\n!|
|00002ea0| 71 88 cd 8e 0e 0b 0e 08 | 61 ac 95 ce 0e 0b cf 48 |q.......|a......H|
|00002eb0| 21 0e 06 42 16 06 d0 0c | 0e 0b 5c 22 89 16 0b aa |!..B....|..\"....|
|00002ec0| 66 0e 06 2e 07 87 22 20 | 5b 6f 6c 64 2d 62 75 66 |f....." |[old-buf|
|00002ed0| 66 65 72 20 63 6f 6c 6c | 65 63 74 69 6f 6e 20 63 |fer coll|ection c|
|00002ee0| 6f 6c 6c 65 63 74 69 6f | 6e 20 65 6c 69 62 2d 63 |ollectio|n elib-c|
|00002ef0| 6f 6c 6c 65 63 74 69 6f | 6e 2d 3e 64 6c 6c 20 64 |ollectio|n->dll d|
|00002f00| 6c 6c 20 6e 69 6c 20 72 | 65 73 75 6c 74 20 65 6c |ll nil r|esult el|
|00002f10| 69 62 2d 63 6f 6c 6c 65 | 63 74 69 6f 6e 2d 3e 68 |ib-colle|ction->h|
|00002f20| 65 61 64 65 72 20 68 65 | 61 64 65 72 20 64 6c 6c |eader he|ader dll|
|00002f30| 2d 6e 74 68 20 2d 32 20 | 74 69 6e 20 65 6c 69 62 |-nth -2 |tin elib|
|00002f40| 2d 63 6f 6c 6c 65 63 74 | 69 6f 6e 2d 3e 62 75 66 |-collect|ion->buf|
|00002f50| 66 65 72 20 28 28 73 65 | 74 2d 62 75 66 66 65 72 |fer ((se|t-buffer|
|00002f60| 20 6f 6c 64 2d 62 75 66 | 66 65 72 29 29 20 65 6c | old-buf|fer)) el|
|00002f70| 69 62 2d 77 72 61 70 70 | 65 72 2d 3e 63 6f 6f 6b |ib-wrapp|er->cook|
|00002f80| 69 65 20 32 20 64 6c 6c | 2d 70 72 65 76 69 6f 75 |ie 2 dll|-previou|
|00002f90| 73 5d 20 34 20 28 23 24 | 20 2e 20 31 31 38 31 32 |s] 4 (#$| . 11812|
|00002fa0| 29 5d 29 0a 23 40 33 35 | 20 52 65 6d 6f 76 65 20 |)]).#@35| Remove |
|00002fb0| 61 6c 6c 20 63 6f 6f 6b | 69 65 73 20 69 6e 20 43 |all cook|ies in C|
|00002fc0| 4f 4c 4c 45 43 54 49 4f | 4e 2e 1f 0a 28 64 65 66 |OLLECTIO|N...(def|
|00002fd0| 61 6c 69 61 73 20 27 63 | 6f 6c 6c 65 63 74 69 6f |alias 'c|ollectio|
|00002fe0| 6e 2d 63 6c 65 61 72 20 | 23 5b 28 63 6f 6c 6c 65 |n-clear |#[(colle|
|00002ff0| 63 74 69 6f 6e 29 20 22 | 70 18 09 1a c3 5c 6e 21 |ction) "|p....\n!|
|00003000| 1c c5 09 21 1e 06 c7 09 | 21 1e 08 c9 5c 6e 21 71 |...!....|!...\n!q|
|00003010| 88 ca 8e cb 1e 0c cd ce | 0c cf 5c 22 d0 48 21 cd |........|..\".H!.|
|00003020| 0e 08 d0 48 21 7c 88 29 | d1 0e 06 d0 48 0e 08 d0 |...H!|.)|....H...|
|00003030| 48 44 21 14 d2 09 0c 5c | 22 88 d3 09 ce 0c d4 5c |HD!....\|"......\|
|00003040| 22 5c 22 88 d5 09 ce 0c | d6 5c 22 5c 22 2e 06 87 |"\".....|.\"\"...|
|00003050| 22 20 5b 6f 6c 64 2d 62 | 75 66 66 65 72 20 63 6f |" [old-b|uffer co|
|00003060| 6c 6c 65 63 74 69 6f 6e | 20 63 6f 6c 6c 65 63 74 |llection| collect|
|00003070| 69 6f 6e 20 65 6c 69 62 | 2d 63 6f 6c 6c 65 63 74 |ion elib|-collect|
|00003080| 69 6f 6e 2d 3e 64 6c 6c | 20 64 6c 6c 20 65 6c 69 |ion->dll| dll eli|
|00003090| 62 2d 63 6f 6c 6c 65 63 | 74 69 6f 6e 2d 3e 68 65 |b-collec|tion->he|
|000030a0| 61 64 65 72 20 68 65 61 | 64 65 72 20 65 6c 69 62 |ader hea|der elib|
|000030b0| 2d 63 6f 6c 6c 65 63 74 | 69 6f 6e 2d 3e 66 6f 6f |-collect|ion->foo|
|000030c0| 74 65 72 20 66 6f 6f 74 | 65 72 20 65 6c 69 62 2d |ter foot|er elib-|
|000030d0| 63 6f 6c 6c 65 63 74 69 | 6f 6e 2d 3e 62 75 66 66 |collecti|on->buff|
|000030e0| 65 72 20 28 28 73 65 74 | 2d 62 75 66 66 65 72 20 |er ((set|-buffer |
|000030f0| 6f 6c 64 2d 62 75 66 66 | 65 72 29 29 20 6e 69 6c |old-buff|er)) nil|
|00003100| 20 62 75 66 66 65 72 2d | 72 65 61 64 2d 6f 6e 6c | buffer-|read-onl|
|00003110| 79 20 65 6c 69 62 2d 77 | 72 61 70 70 65 72 2d 3e |y elib-w|rapper->|
|00003120| 73 74 61 72 74 2d 6d 61 | 72 6b 65 72 20 64 6c 6c |start-ma|rker dll|
|00003130| 2d 6e 74 68 20 31 20 32 | 20 64 6c 6c 2d 63 72 65 |-nth 1 2| dll-cre|
|00003140| 61 74 65 2d 66 72 6f 6d | 2d 6c 69 73 74 20 65 6c |ate-from|-list el|
|00003150| 69 62 2d 73 65 74 2d 63 | 6f 6c 6c 65 63 74 69 6f |ib-set-c|ollectio|
|00003160| 6e 2d 3e 64 6c 6c 20 65 | 6c 69 62 2d 73 65 74 2d |n->dll e|lib-set-|
|00003170| 63 6f 6c 6c 65 63 74 69 | 6f 6e 2d 3e 68 65 61 64 |collecti|on->head|
|00003180| 65 72 20 30 20 65 6c 69 | 62 2d 73 65 74 2d 63 6f |er 0 eli|b-set-co|
|00003190| 6c 6c 65 63 74 69 6f 6e | 2d 3e 66 6f 6f 74 65 72 |llection|->footer|
|000031a0| 20 2d 31 5d 20 35 20 28 | 23 24 20 2e 20 31 32 32 | -1] 5 (|#$ . 122|
|000031b0| 30 31 29 5d 29 0a 23 40 | 35 30 30 20 41 70 70 6c |01)]).#@|500 Appl|
|000031c0| 79 20 4d 41 50 2d 46 55 | 4e 43 54 49 4f 4e 20 74 |y MAP-FU|NCTION t|
|000031d0| 6f 20 61 6c 6c 20 63 6f | 6f 6b 69 65 73 20 69 6e |o all co|okies in|
|000031e0| 20 43 4f 4c 4c 45 43 54 | 49 4f 4e 2e 0a 4d 41 50 | COLLECT|ION..MAP|
|000031f0| 2d 46 55 4e 43 54 49 4f | 4e 20 69 73 20 61 70 70 |-FUNCTIO|N is app|
|00003200| 6c 69 65 64 20 74 6f 20 | 74 68 65 20 66 69 72 73 |lied to |the firs|
|00003210| 74 20 65 6c 65 6d 65 6e | 74 20 66 69 72 73 74 2e |t elemen|t first.|
|00003220| 0a 49 66 20 4d 41 50 2d | 46 55 4e 43 54 49 4f 4e |.If MAP-|FUNCTION|
|00003230| 20 72 65 74 75 72 6e 73 | 20 6e 6f 6e 2d 6e 69 6c | returns| non-nil|
|00003240| 20 74 68 65 20 63 6f 6f | 6b 69 65 20 77 69 6c 6c | the coo|kie will|
|00003250| 20 62 65 20 72 65 66 72 | 65 73 68 65 64 20 28 69 | be refr|eshed (i|
|00003260| 74 73 0a 70 72 65 74 74 | 79 2d 70 72 69 6e 74 65 |ts.prett|y-printe|
|00003270| 72 20 77 69 6c 6c 20 62 | 65 20 63 61 6c 6c 65 64 |r will b|e called|
|00003280| 20 6f 6e 63 65 20 61 67 | 61 69 6e 29 2e 0a 0a 4e | once ag|ain)...N|
|00003290| 6f 74 65 20 74 68 61 74 | 20 74 68 65 20 62 75 66 |ote that| the buf|
|000032a0| 66 65 72 20 66 6f 72 20 | 43 4f 4c 4c 45 43 54 49 |fer for |COLLECTI|
|000032b0| 4f 4e 20 77 69 6c 6c 20 | 62 65 20 63 75 72 72 65 |ON will |be curre|
|000032c0| 6e 74 20 62 75 66 66 65 | 72 20 77 68 65 6e 20 4d |nt buffe|r when M|
|000032d0| 41 50 2d 46 55 4e 43 54 | 49 4f 4e 20 0a 69 73 20 |AP-FUNCT|ION .is |
|000032e0| 63 61 6c 6c 65 64 2e 20 | 20 4d 41 50 2d 46 55 4e |called. | MAP-FUN|
|000032f0| 43 54 49 4f 4e 20 6d 75 | 73 74 20 72 65 73 74 6f |CTION mu|st resto|
|00003300| 72 65 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 62 |re the c|urrent b|
|00003310| 75 66 66 65 72 20 74 6f | 20 42 55 46 46 45 52 20 |uffer to| BUFFER |
|00003320| 62 65 66 6f 72 65 20 0a | 69 74 20 72 65 74 75 72 |before .|it retur|
|00003330| 6e 73 2c 20 69 66 20 69 | 74 20 63 68 61 6e 67 65 |ns, if i|t change|
|00003340| 73 20 69 74 2e 0a 0a 49 | 66 20 6d 6f 72 65 20 74 |s it...I|f more t|
|00003350| 68 61 6e 20 74 77 6f 20 | 61 72 67 75 6d 65 6e 74 |han two |argument|
|00003360| 73 20 61 72 65 20 67 69 | 76 65 6e 20 74 6f 20 63 |s are gi|ven to c|
|00003370| 6f 6f 6b 69 65 2d 6d 61 | 70 2c 20 72 65 6d 61 69 |ookie-ma|p, remai|
|00003380| 6e 69 6e 67 0a 61 72 67 | 75 6d 65 6e 74 73 20 77 |ning.arg|uments w|
|00003390| 69 6c 6c 20 62 65 20 70 | 61 73 73 65 64 20 74 6f |ill be p|assed to|
|000033a0| 20 4d 41 50 2d 46 55 4e | 43 54 49 4f 4e 2e 1f 0a | MAP-FUN|CTION...|
|000033b0| 28 64 65 66 61 6c 69 61 | 73 20 27 63 6f 6f 6b 69 |(defalia|s 'cooki|
|000033c0| 65 2d 6d 61 70 20 23 5b | 28 6d 61 70 2d 66 75 6e |e-map #[|(map-fun|
|000033d0| 63 74 69 6f 6e 20 63 6f | 6c 6c 65 63 74 69 6f 6e |ction co|llection|
|000033e0| 20 26 72 65 73 74 20 6d | 61 70 2d 61 72 67 73 29 | &rest m|ap-args)|
|000033f0| 20 22 70 18 09 1a c3 5c | 6e 21 1c c5 09 21 1e 06 | "p....\|n!...!..|
|00003400| c7 0c c8 5c 22 1e 09 ca | 5c 6e 21 71 88 cb 8e 0e |...\"...|\n!q....|
|00003410| 09 0e 06 61 3f ad 9e cc | 0e 0d ce 0e 09 cf 48 21 |...a?...|......H!|
|00003420| 0e 10 23 ab 86 d1 09 0e | 09 5c 22 88 d2 0c 0e 09 |..#.....|.\".....|
|00003430| 5c 22 89 16 09 aa 5c 5c | 2e 06 87 22 20 5b 6f 6c |\"....\\|..." [ol|
|00003440| 64 2d 62 75 66 66 65 72 | 20 63 6f 6c 6c 65 63 74 |d-buffer| collect|
|00003450| 69 6f 6e 20 63 6f 6c 6c | 65 63 74 69 6f 6e 20 65 |ion coll|ection e|
|00003460| 6c 69 62 2d 63 6f 6c 6c | 65 63 74 69 6f 6e 2d 3e |lib-coll|ection->|
|00003470| 64 6c 6c 20 64 6c 6c 20 | 65 6c 69 62 2d 63 6f 6c |dll dll |elib-col|
|00003480| 6c 65 63 74 69 6f 6e 2d | 3e 66 6f 6f 74 65 72 20 |lection-|>footer |
|00003490| 66 6f 6f 74 65 72 20 64 | 6c 6c 2d 6e 74 68 20 31 |footer d|ll-nth 1|
|000034a0| 20 74 69 6e 20 65 6c 69 | 62 2d 63 6f 6c 6c 65 63 | tin eli|b-collec|
|000034b0| 74 69 6f 6e 2d 3e 62 75 | 66 66 65 72 20 28 28 73 |tion->bu|ffer ((s|
|000034c0| 65 74 2d 62 75 66 66 65 | 72 20 6f 6c 64 2d 62 75 |et-buffe|r old-bu|
|000034d0| 66 66 65 72 29 29 20 61 | 70 70 6c 79 20 6d 61 70 |ffer)) a|pply map|
|000034e0| 2d 66 75 6e 63 74 69 6f | 6e 20 65 6c 69 62 2d 77 |-functio|n elib-w|
|000034f0| 72 61 70 70 65 72 2d 3e | 63 6f 6f 6b 69 65 20 32 |rapper->|cookie 2|
|00003500| 20 6d 61 70 2d 61 72 67 | 73 20 65 6c 69 62 2d 72 | map-arg|s elib-r|
|00003510| 65 66 72 65 73 68 2d 74 | 69 6e 20 64 6c 6c 2d 6e |efresh-t|in dll-n|
|00003520| 65 78 74 5d 20 36 20 28 | 23 24 20 2e 20 31 32 37 |ext] 6 (|#$ . 127|
|00003530| 33 32 29 5d 29 0a 23 40 | 34 36 37 20 41 70 70 6c |32)]).#@|467 Appl|
|00003540| 79 20 4d 41 50 2d 46 55 | 4e 43 54 49 4f 4e 20 74 |y MAP-FU|NCTION t|
|00003550| 6f 20 61 6c 6c 20 63 6f | 6f 6b 69 65 73 20 69 6e |o all co|okies in|
|00003560| 20 43 4f 4c 4c 45 43 54 | 49 4f 4e 2e 0a 4d 41 50 | COLLECT|ION..MAP|
|00003570| 2d 46 55 4e 43 54 49 4f | 4e 20 69 73 20 61 70 70 |-FUNCTIO|N is app|
|00003580| 6c 69 65 64 20 74 6f 20 | 74 68 65 20 6c 61 73 74 |lied to |the last|
|00003590| 20 63 6f 6f 6b 69 65 20 | 66 69 72 73 74 2e 0a 49 | cookie |first..I|
|000035a0| 66 20 4d 41 50 2d 46 55 | 4e 43 54 49 4f 4e 20 72 |f MAP-FU|NCTION r|
|000035b0| 65 74 75 72 6e 73 20 6e | 6f 6e 2d 6e 69 6c 20 74 |eturns n|on-nil t|
|000035c0| 68 65 20 63 6f 6f 6b 69 | 65 20 77 69 6c 6c 20 62 |he cooki|e will b|
|000035d0| 65 20 72 65 66 72 65 73 | 68 65 64 2e 0a 0a 4e 6f |e refres|hed...No|
|000035e0| 74 65 20 74 68 61 74 20 | 74 68 65 20 62 75 66 66 |te that |the buff|
|000035f0| 65 72 20 66 6f 72 20 43 | 4f 4c 4c 45 43 54 49 4f |er for C|OLLECTIO|
|00003600| 4e 20 77 69 6c 6c 20 62 | 65 20 63 75 72 72 65 6e |N will b|e curren|
|00003610| 74 20 62 75 66 66 65 72 | 20 77 68 65 6e 20 4d 41 |t buffer| when MA|
|00003620| 50 2d 46 55 4e 43 54 49 | 4f 4e 20 0a 69 73 20 63 |P-FUNCTI|ON .is c|
|00003630| 61 6c 6c 65 64 2e 20 20 | 4d 41 50 2d 46 55 4e 43 |alled. |MAP-FUNC|
|00003640| 54 49 4f 4e 20 6d 75 73 | 74 20 72 65 73 74 6f 72 |TION mus|t restor|
|00003650| 65 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 62 75 |e the cu|rrent bu|
|00003660| 66 66 65 72 20 74 6f 20 | 42 55 46 46 45 52 20 62 |ffer to |BUFFER b|
|00003670| 65 66 6f 72 65 20 0a 69 | 74 20 72 65 74 75 72 6e |efore .i|t return|
|00003680| 73 2c 20 69 66 20 69 74 | 20 63 68 61 6e 67 65 73 |s, if it| changes|
|00003690| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 62 75 66 | the cur|rent buf|
|000036a0| 66 65 72 2e 0a 0a 49 66 | 20 6d 6f 72 65 20 74 68 |fer...If| more th|
|000036b0| 61 6e 20 74 77 6f 20 61 | 72 67 75 6d 65 6e 74 73 |an two a|rguments|
|000036c0| 20 61 72 65 20 67 69 76 | 65 6e 20 74 6f 20 63 6f | are giv|en to co|
|000036d0| 6f 6b 69 65 2d 6d 61 70 | 2c 20 72 65 6d 61 69 6e |okie-map|, remain|
|000036e0| 69 6e 67 0a 61 72 67 75 | 6d 65 6e 74 73 20 77 69 |ing.argu|ments wi|
|000036f0| 6c 6c 20 62 65 20 70 61 | 73 73 65 64 20 74 6f 20 |ll be pa|ssed to |
|00003700| 4d 41 50 2d 46 55 4e 43 | 54 49 4f 4e 2e 1f 0a 28 |MAP-FUNC|TION...(|
|00003710| 64 65 66 61 6c 69 61 73 | 20 27 63 6f 6f 6b 69 65 |defalias| 'cookie|
|00003720| 2d 6d 61 70 2d 72 65 76 | 65 72 73 65 20 23 5b 28 |-map-rev|erse #[(|
|00003730| 6d 61 70 2d 66 75 6e 63 | 74 69 6f 6e 20 63 6f 6c |map-func|tion col|
|00003740| 6c 65 63 74 69 6f 6e 20 | 26 72 65 73 74 20 6d 61 |lection |&rest ma|
|00003750| 70 2d 61 72 67 73 29 20 | 22 70 18 09 1a c3 5c 6e |p-args) |"p....\n|
|00003760| 21 1c c5 09 21 1e 06 c7 | 0c c8 5c 22 1e 09 ca 5c |!...!...|..\"...\|
|00003770| 6e 21 71 88 cb 8e 0e 09 | 0e 06 61 3f ad 9e cc 0e |n!q.....|..a?....|
|00003780| 0d ce 0e 09 cf 48 21 0e | 10 23 ab 86 d1 09 0e 09 |.....H!.|.#......|
|00003790| 5c 22 88 d2 0c 0e 09 5c | 22 89 16 09 aa 5c 5c 2e |\".....\|"....\\.|
|000037a0| 06 87 22 20 5b 6f 6c 64 | 2d 62 75 66 66 65 72 20 |.." [old|-buffer |
|000037b0| 63 6f 6c 6c 65 63 74 69 | 6f 6e 20 63 6f 6c 6c 65 |collecti|on colle|
|000037c0| 63 74 69 6f 6e 20 65 6c | 69 62 2d 63 6f 6c 6c 65 |ction el|ib-colle|
|000037d0| 63 74 69 6f 6e 2d 3e 64 | 6c 6c 20 64 6c 6c 20 65 |ction->d|ll dll e|
|000037e0| 6c 69 62 2d 63 6f 6c 6c | 65 63 74 69 6f 6e 2d 3e |lib-coll|ection->|
|000037f0| 68 65 61 64 65 72 20 68 | 65 61 64 65 72 20 64 6c |header h|eader dl|
|00003800| 6c 2d 6e 74 68 20 2d 32 | 20 74 69 6e 20 65 6c 69 |l-nth -2| tin eli|
|00003810| 62 2d 63 6f 6c 6c 65 63 | 74 69 6f 6e 2d 3e 62 75 |b-collec|tion->bu|
|00003820| 66 66 65 72 20 28 28 73 | 65 74 2d 62 75 66 66 65 |ffer ((s|et-buffe|
|00003830| 72 20 6f 6c 64 2d 62 75 | 66 66 65 72 29 29 20 61 |r old-bu|ffer)) a|
|00003840| 70 70 6c 79 20 6d 61 70 | 2d 66 75 6e 63 74 69 6f |pply map|-functio|
|00003850| 6e 20 65 6c 69 62 2d 77 | 72 61 70 70 65 72 2d 3e |n elib-w|rapper->|
|00003860| 63 6f 6f 6b 69 65 20 32 | 20 6d 61 70 2d 61 72 67 |cookie 2| map-arg|
|00003870| 73 20 65 6c 69 62 2d 72 | 65 66 72 65 73 68 2d 74 |s elib-r|efresh-t|
|00003880| 69 6e 20 64 6c 6c 2d 70 | 72 65 76 69 6f 75 73 5d |in dll-p|revious]|
|00003890| 20 36 20 28 23 24 20 2e | 20 31 33 36 32 38 29 5d | 6 (#$ .| 13628)]|
|000038a0| 29 0a 23 40 39 34 20 49 | 6e 73 65 72 74 20 61 6c |).#@94 I|nsert al|
|000038b0| 6c 20 63 6f 6f 6b 69 65 | 73 20 69 6e 20 74 68 65 |l cookie|s in the|
|000038c0| 20 6c 69 73 74 20 43 4f | 4f 4b 49 45 2d 4c 49 53 | list CO|OKIE-LIS|
|000038d0| 54 20 6c 61 73 74 20 69 | 6e 20 43 4f 4c 4c 45 43 |T last i|n COLLEC|
|000038e0| 54 49 4f 4e 2e 0a 41 72 | 67 73 3a 20 43 4f 4c 4c |TION..Ar|gs: COLL|
|000038f0| 45 43 54 49 4f 4e 20 43 | 4f 4f 4b 49 45 2d 4c 49 |ECTION C|OOKIE-LI|
|00003900| 53 54 2e 1f 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |ST...(de|falias '|
|00003910| 63 6f 6c 6c 65 63 74 69 | 6f 6e 2d 61 70 70 65 6e |collecti|on-appen|
|00003920| 64 2d 63 6f 6f 6b 69 65 | 73 20 23 5b 28 63 6f 6c |d-cookie|s #[(col|
|00003930| 6c 65 63 74 69 6f 6e 20 | 63 6f 6f 6b 69 65 2d 6c |lection |cookie-l|
|00003940| 69 73 74 29 20 22 08 ad | 8d c1 5c 6e 08 40 5c 22 |ist) "..|..\n.@\"|
|00003950| 88 08 41 89 10 ac 74 c3 | 87 22 20 5b 63 6f 6f 6b |..A...t.|." [cook|
|00003960| 69 65 2d 6c 69 73 74 20 | 63 6f 6f 6b 69 65 2d 65 |ie-list |cookie-e|
|00003970| 6e 74 65 72 2d 6c 61 73 | 74 20 63 6f 6c 6c 65 63 |nter-las|t collec|
|00003980| 74 69 6f 6e 20 6e 69 6c | 5d 20 34 20 28 23 24 20 |tion nil|] 4 (#$ |
|00003990| 2e 20 31 34 35 30 33 29 | 5d 29 0a 23 40 34 33 35 |. 14503)|]).#@435|
|000039a0| 20 52 65 6d 6f 76 65 20 | 61 6c 6c 20 63 6f 6f 6b | Remove |all cook|
|000039b0| 69 65 73 20 69 6e 20 43 | 4f 4c 4c 45 43 54 49 4f |ies in C|OLLECTIO|
|000039c0| 4e 20 66 6f 72 20 77 68 | 69 63 68 20 50 52 45 44 |N for wh|ich PRED|
|000039d0| 49 43 41 54 45 20 72 65 | 74 75 72 6e 73 20 6e 69 |ICATE re|turns ni|
|000039e0| 6c 2e 0a 41 72 67 73 3a | 20 43 4f 4c 4c 45 43 54 |l..Args:| COLLECT|
|000039f0| 49 4f 4e 20 50 52 45 44 | 49 43 41 54 45 20 26 72 |ION PRED|ICATE &r|
|00003a00| 65 73 74 20 45 58 54 52 | 41 2d 41 52 47 53 2e 0a |est EXTR|A-ARGS..|
|00003a10| 4e 6f 74 65 20 74 68 61 | 74 20 74 68 65 20 62 75 |Note tha|t the bu|
|00003a20| 66 66 65 72 20 66 6f 72 | 20 43 4f 4c 4c 45 43 54 |ffer for| COLLECT|
|00003a30| 49 4f 4e 20 77 69 6c 6c | 20 62 65 20 63 75 72 72 |ION will| be curr|
|00003a40| 65 6e 74 2d 62 75 66 66 | 65 72 20 77 68 65 6e 20 |ent-buff|er when |
|00003a50| 50 52 45 44 49 43 41 54 | 45 20 0a 69 73 20 63 61 |PREDICAT|E .is ca|
|00003a60| 6c 6c 65 64 2e 20 50 52 | 45 44 49 43 41 54 45 20 |lled. PR|EDICATE |
|00003a70| 6d 75 73 74 20 72 65 73 | 74 6f 72 65 20 74 68 65 |must res|tore the|
|00003a80| 20 63 75 72 72 65 6e 74 | 20 62 75 66 66 65 72 20 | current| buffer |
|00003a90| 62 65 66 6f 72 65 20 69 | 74 20 72 65 74 75 72 6e |before i|t return|
|00003aa0| 73 0a 69 66 20 69 74 20 | 63 68 61 6e 67 65 73 20 |s.if it |changes |
|00003ab0| 69 74 2e 0a 0a 54 68 65 | 20 50 52 45 44 49 43 41 |it...The| PREDICA|
|00003ac0| 54 45 20 69 73 20 63 61 | 6c 6c 65 64 20 77 69 74 |TE is ca|lled wit|
|00003ad0| 68 20 74 68 65 20 63 6f | 6f 6b 69 65 20 61 73 20 |h the co|okie as |
|00003ae0| 69 74 73 20 66 69 72 73 | 74 20 61 72 67 75 6d 65 |its firs|t argume|
|00003af0| 6e 74 2e 20 49 66 20 61 | 6e 79 0a 45 58 54 52 41 |nt. If a|ny.EXTRA|
|00003b00| 2d 41 52 47 53 20 61 72 | 65 20 67 69 76 65 6e 20 |-ARGS ar|e given |
|00003b10| 74 6f 20 63 6f 6c 6c 65 | 63 74 69 6f 6e 2d 66 69 |to colle|ction-fi|
|00003b20| 6c 74 65 72 2d 63 6f 6f | 6b 69 65 73 20 74 68 65 |lter-coo|kies the|
|00003b30| 79 20 77 69 6c 6c 20 62 | 65 20 70 61 73 73 65 64 |y will b|e passed|
|00003b40| 20 74 6f 20 74 68 65 0a | 50 52 45 44 49 43 41 54 | to the.|PREDICAT|
|00003b50| 45 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 63 |E...(def|alias 'c|
|00003b60| 6f 6c 6c 65 63 74 69 6f | 6e 2d 66 69 6c 74 65 72 |ollectio|n-filter|
|00003b70| 2d 63 6f 6f 6b 69 65 73 | 20 23 5b 28 63 6f 6c 6c |-cookies| #[(coll|
|00003b80| 65 63 74 69 6f 6e 20 70 | 72 65 64 69 63 61 74 65 |ection p|redicate|
|00003b90| 20 26 72 65 73 74 20 65 | 78 74 72 61 2d 61 72 67 | &rest e|xtra-arg|
|00003ba0| 73 29 20 22 70 18 09 1a | c3 5c 6e 21 1c c5 0c c6 |s) "p...|.\n!....|
|00003bb0| 5c 22 1e 07 c8 09 21 1e | 09 ca 1e 0b cc 5c 6e 21 |\"....!.|.....\n!|
|00003bc0| 71 88 cd 8e 0e 07 0e 09 | 61 3f ad a2 ce 0c 0e 07 |q.......|a?......|
|00003bd0| 5c 22 16 0b cf 0e 10 d1 | 0e 07 d2 48 21 0e 13 23 |\"......|...H!..#|
|00003be0| ac 86 d4 09 0e 07 5c 22 | 88 0e 0b 89 16 07 aa 58 |......\"|.......X|
|00003bf0| 2e 07 87 22 20 5b 6f 6c | 64 2d 62 75 66 66 65 72 |..." [ol|d-buffer|
|00003c00| 20 63 6f 6c 6c 65 63 74 | 69 6f 6e 20 63 6f 6c 6c | collect|ion coll|
|00003c10| 65 63 74 69 6f 6e 20 65 | 6c 69 62 2d 63 6f 6c 6c |ection e|lib-coll|
|00003c20| 65 63 74 69 6f 6e 2d 3e | 64 6c 6c 20 64 6c 6c 20 |ection->|dll dll |
|00003c30| 64 6c 6c 2d 6e 74 68 20 | 31 20 74 69 6e 20 65 6c |dll-nth |1 tin el|
|00003c40| 69 62 2d 63 6f 6c 6c 65 | 63 74 69 6f 6e 2d 3e 66 |ib-colle|ction->f|
|00003c50| 6f 6f 74 65 72 20 66 6f | 6f 74 65 72 20 6e 69 6c |ooter fo|oter nil|
|00003c60| 20 6e 65 78 74 20 65 6c | 69 62 2d 63 6f 6c 6c 65 | next el|ib-colle|
|00003c70| 63 74 69 6f 6e 2d 3e 62 | 75 66 66 65 72 20 28 28 |ction->b|uffer ((|
|00003c80| 73 65 74 2d 62 75 66 66 | 65 72 20 6f 6c 64 2d 62 |set-buff|er old-b|
|00003c90| 75 66 66 65 72 29 29 20 | 64 6c 6c 2d 6e 65 78 74 |uffer)) |dll-next|
|00003ca0| 20 61 70 70 6c 79 20 70 | 72 65 64 69 63 61 74 65 | apply p|redicate|
|00003cb0| 20 65 6c 69 62 2d 77 72 | 61 70 70 65 72 2d 3e 63 | elib-wr|apper->c|
|00003cc0| 6f 6f 6b 69 65 20 32 20 | 65 78 74 72 61 2d 61 72 |ookie 2 |extra-ar|
|00003cd0| 67 73 20 65 6c 69 62 2d | 64 65 6c 65 74 65 2d 74 |gs elib-|delete-t|
|00003ce0| 69 6e 2d 69 6e 74 65 72 | 6e 61 6c 5d 20 36 20 28 |in-inter|nal] 6 (|
|00003cf0| 23 24 20 2e 20 31 34 37 | 35 33 29 5d 29 0a 23 40 |#$ . 147|53)]).#@|
|00003d00| 33 37 39 20 52 65 6d 6f | 76 65 20 61 6c 6c 20 63 |379 Remo|ve all c|
|00003d10| 6f 6f 6b 69 65 73 20 69 | 6e 20 43 4f 4c 4c 45 43 |ookies i|n COLLEC|
|00003d20| 54 49 4f 4e 20 66 6f 72 | 20 77 68 69 63 68 20 50 |TION for| which P|
|00003d30| 52 45 44 49 43 41 54 45 | 20 72 65 74 75 72 6e 73 |REDICATE| returns|
|00003d40| 20 6e 69 6c 2e 0a 4e 6f | 74 65 20 74 68 61 74 20 | nil..No|te that |
|00003d50| 74 68 65 20 62 75 66 66 | 65 72 20 66 6f 72 20 43 |the buff|er for C|
|00003d60| 4f 4c 4c 45 43 54 49 4f | 4e 20 77 69 6c 6c 20 62 |OLLECTIO|N will b|
|00003d70| 65 20 63 75 72 72 65 6e | 74 2d 62 75 66 66 65 72 |e curren|t-buffer|
|00003d80| 20 77 68 65 6e 20 50 52 | 45 44 49 43 41 54 45 20 | when PR|EDICATE |
|00003d90| 0a 69 73 20 63 61 6c 6c | 65 64 2e 20 50 52 45 44 |.is call|ed. PRED|
|00003da0| 49 43 41 54 45 20 6d 75 | 73 74 20 72 65 73 74 6f |ICATE mu|st resto|
|00003db0| 72 65 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 62 |re the c|urrent b|
|00003dc0| 75 66 66 65 72 20 62 65 | 66 6f 72 65 20 69 74 20 |uffer be|fore it |
|00003dd0| 72 65 74 75 72 6e 73 0a | 69 66 20 69 74 20 63 68 |returns.|if it ch|
|00003de0| 61 6e 67 65 73 20 69 74 | 2e 0a 0a 54 68 65 20 50 |anges it|...The P|
|00003df0| 52 45 44 49 43 41 54 45 | 20 69 73 20 63 61 6c 6c |REDICATE| is call|
|00003e00| 65 64 20 77 69 74 68 20 | 6f 6e 65 20 61 72 67 75 |ed with |one argu|
|00003e10| 6d 65 6e 74 2c 20 74 68 | 65 20 74 69 6e 2e 20 49 |ment, th|e tin. I|
|00003e20| 66 20 61 6e 79 20 45 58 | 54 52 41 2d 41 52 47 53 |f any EX|TRA-ARGS|
|00003e30| 0a 61 72 65 20 67 69 76 | 65 6e 20 74 6f 20 63 6f |.are giv|en to co|
|00003e40| 6c 6c 65 63 74 69 6f 6e | 2d 66 69 6c 74 65 72 2d |llection|-filter-|
|00003e50| 63 6f 6f 6b 69 65 73 20 | 74 68 65 79 20 77 69 6c |cookies |they wil|
|00003e60| 6c 20 62 65 20 70 61 73 | 73 65 64 20 74 6f 20 74 |l be pas|sed to t|
|00003e70| 68 65 20 50 52 45 44 49 | 43 41 54 45 2e 1f 0a 28 |he PREDI|CATE...(|
|00003e80| 64 65 66 61 6c 69 61 73 | 20 27 63 6f 6c 6c 65 63 |defalias| 'collec|
|00003e90| 74 69 6f 6e 2d 66 69 6c | 74 65 72 2d 74 69 6e 73 |tion-fil|ter-tins|
|00003ea0| 20 23 5b 28 63 6f 6c 6c | 65 63 74 69 6f 6e 20 70 | #[(coll|ection p|
|00003eb0| 72 65 64 69 63 61 74 65 | 20 26 72 65 73 74 20 65 |redicate| &rest e|
|00003ec0| 78 74 72 61 2d 61 72 67 | 73 29 20 22 70 18 09 1a |xtra-arg|s) "p...|
|00003ed0| c3 5c 6e 21 1c c5 0c c6 | 5c 22 1e 07 c8 09 21 1e |.\n!....|\"....!.|
|00003ee0| 09 ca 1e 0b cc 5c 6e 21 | 71 88 cd 8e 0e 07 0e 09 |.....\n!|q.......|
|00003ef0| 61 3f ad 9e ce 0c 0e 07 | 5c 22 16 0b cf 0e 10 0e |a?......|\"......|
|00003f00| 07 0e 11 23 ac 86 d2 09 | 0e 07 5c 22 88 0e 0b 89 |...#....|..\"....|
|00003f10| 16 07 aa 5c 5c 2e 07 87 | 22 20 5b 6f 6c 64 2d 62 |...\\...|" [old-b|
|00003f20| 75 66 66 65 72 20 63 6f | 6c 6c 65 63 74 69 6f 6e |uffer co|llection|
|00003f30| 20 63 6f 6c 6c 65 63 74 | 69 6f 6e 20 65 6c 69 62 | collect|ion elib|
|00003f40| 2d 63 6f 6c 6c 65 63 74 | 69 6f 6e 2d 3e 64 6c 6c |-collect|ion->dll|
|00003f50| 20 64 6c 6c 20 64 6c 6c | 2d 6e 74 68 20 31 20 74 | dll dll|-nth 1 t|
|00003f60| 69 6e 20 65 6c 69 62 2d | 63 6f 6c 6c 65 63 74 69 |in elib-|collecti|
|00003f70| 6f 6e 2d 3e 66 6f 6f 74 | 65 72 20 66 6f 6f 74 65 |on->foot|er foote|
|00003f80| 72 20 6e 69 6c 20 6e 65 | 78 74 20 65 6c 69 62 2d |r nil ne|xt elib-|
|00003f90| 63 6f 6c 6c 65 63 74 69 | 6f 6e 2d 3e 62 75 66 66 |collecti|on->buff|
|00003fa0| 65 72 20 28 28 73 65 74 | 2d 62 75 66 66 65 72 20 |er ((set|-buffer |
|00003fb0| 6f 6c 64 2d 62 75 66 66 | 65 72 29 29 20 64 6c 6c |old-buff|er)) dll|
|00003fc0| 2d 6e 65 78 74 20 61 70 | 70 6c 79 20 70 72 65 64 |-next ap|ply pred|
|00003fd0| 69 63 61 74 65 20 65 78 | 74 72 61 2d 61 72 67 73 |icate ex|tra-args|
|00003fe0| 20 65 6c 69 62 2d 64 65 | 6c 65 74 65 2d 74 69 6e | elib-de|lete-tin|
|00003ff0| 2d 69 6e 74 65 72 6e 61 | 6c 5d 20 35 20 28 23 24 |-interna|l] 5 (#$|
|00004000| 20 2e 20 31 35 36 32 30 | 29 5d 29 0a 23 40 33 36 | . 15620|)]).#@36|
|00004010| 38 20 52 65 74 75 72 6e | 20 74 68 65 20 74 69 6e |8 Return| the tin|
|00004020| 20 74 68 61 74 20 50 4f | 53 20 28 61 20 62 75 66 | that PO|S (a buf|
|00004030| 66 65 72 20 70 6f 73 69 | 74 69 6f 6e 29 20 69 73 |fer posi|tion) is|
|00004040| 20 77 69 74 68 69 6e 2e | 0a 41 72 67 73 3a 20 43 | within.|.Args: C|
|00004050| 4f 4c 4c 45 43 54 49 4f | 4e 20 50 4f 53 20 26 6f |OLLECTIO|N POS &o|
|00004060| 70 74 69 6f 6e 61 6c 20 | 47 55 45 53 53 2e 0a 50 |ptional |GUESS..P|
|00004070| 4f 53 20 6d 61 79 20 62 | 65 20 61 20 6d 61 72 6b |OS may b|e a mark|
|00004080| 65 72 20 6f 72 20 61 6e | 20 69 6e 74 65 67 65 72 |er or an| integer|
|00004090| 2e 0a 47 55 45 53 53 20 | 73 68 6f 75 6c 64 20 62 |..GUESS |should b|
|000040a0| 65 20 61 20 74 69 6e 20 | 74 68 61 74 20 69 74 20 |e a tin |that it |
|000040b0| 69 73 20 6c 69 6b 65 6c | 79 20 74 68 61 74 20 50 |is likel|y that P|
|000040c0| 4f 53 20 69 73 20 6e 65 | 61 72 2e 0a 0a 49 66 20 |OS is ne|ar...If |
|000040d0| 50 4f 53 20 70 6f 69 6e | 74 73 20 62 65 66 6f 72 |POS poin|ts befor|
|000040e0| 65 20 74 68 65 20 66 69 | 72 73 74 20 63 6f 6f 6b |e the fi|rst cook|
|000040f0| 69 65 2c 20 74 68 65 20 | 66 69 72 73 74 20 63 6f |ie, the |first co|
|00004100| 6f 6b 69 65 20 69 73 20 | 72 65 74 75 72 6e 65 64 |okie is |returned|
|00004110| 2e 0a 49 66 20 50 4f 53 | 20 70 6f 69 6e 74 73 20 |..If POS| points |
|00004120| 61 66 74 65 72 20 74 68 | 65 20 6c 61 73 74 20 63 |after th|e last c|
|00004130| 6f 6f 6b 69 65 2c 20 74 | 68 65 20 6c 61 73 74 20 |ookie, t|he last |
|00004140| 63 6f 6f 6b 69 65 20 69 | 73 20 72 65 74 75 72 6e |cookie i|s return|
|00004150| 65 64 2e 0a 49 66 20 74 | 68 65 20 43 4f 4c 4c 45 |ed..If t|he COLLE|
|00004160| 43 54 49 4f 4e 20 69 73 | 20 65 6d 70 74 79 2c 20 |CTION is| empty, |
|00004170| 6e 69 6c 20 69 73 20 72 | 65 74 75 72 6e 65 64 2e |nil is r|eturned.|
|00004180| 1f 0a 28 64 65 66 61 6c | 69 61 73 20 27 74 69 6e |..(defal|ias 'tin|
|00004190| 2d 6c 6f 63 61 74 65 20 | 23 5b 28 63 6f 6c 6c 65 |-locate |#[(colle|
|000041a0| 63 74 69 6f 6e 20 70 6f | 73 20 26 6f 70 74 69 6f |ction po|s &optio|
|000041b0| 6e 61 6c 20 67 75 65 73 | 73 29 20 22 70 18 09 1a |nal gues|s) "p...|
|000041c0| c3 5c 6e 21 1c c5 09 21 | 1e 06 c7 5c 6e 21 71 88 |.\n!...!|...\n!q.|
|000041d0| c8 8e c9 0c ca 5c 22 c9 | 0c cb 5c 22 61 ab 84 cc |.....\".|..\"a...|
|000041e0| 82 04 01 0e 0d ce c9 0c | ca 5c 22 cf 48 21 57 ab |........|.\".H!W.|
|000041f0| 87 c9 0c ca 5c 22 82 04 | 01 0e 0d ce d0 0c 21 21 |....\"..|......!!|
|00004200| 59 ab 87 c9 0c d1 5c 22 | 82 04 01 c9 0c ca 5c 22 |Y.....\"|......\"|
|00004210| 1e 12 d3 0e 0d ce 0e 12 | cf 48 21 5a 21 1e 14 0e |........|.H!Z!...|
|00004220| 15 ab a0 0e 15 1e 16 d3 | 0e 0d ce 0e 16 cf 48 21 |........|......H!|
|00004230| 5a 21 89 1e 17 0e 14 57 | ab 88 0e 17 16 14 0e 16 |Z!.....W|........|
|00004240| 16 12 2a c9 0c cb 5c 22 | 1e 16 d3 0e 0d ce 0e 16 |..*...\"|........|
|00004250| cf 48 21 5a 21 89 1e 17 | 0e 14 57 ab 88 0e 17 16 |.H!Z!...|..W.....|
|00004260| 14 0e 16 16 12 2a d8 09 | 21 ab a1 d8 09 21 1e 16 |.....*..|!....!..|
|00004270| d3 0e 0d ce 0e 16 cf 48 | 21 5a 21 89 1e 17 0e 14 |.......H|!Z!.....|
|00004280| 57 ab 88 0e 17 16 14 0e | 16 16 12 2a 0e 0d ce 0e |W.......|...*....|
|00004290| 12 cf 48 21 59 ab 9b 0e | 0d ce 0e 12 cf 48 21 59 |..H!Y...|.....H!Y|
|000042a0| ab 89 d9 0c 0e 12 5c 22 | 16 12 aa 6c da 0c 0e 12 |......\"|...l....|
|000042b0| 5c 22 aa 96 0e 0d ce 0e | 12 cf 48 21 57 ab 89 da |\"......|..H!W...|
|000042c0| 0c 0e 12 5c 22 16 12 aa | 6c 0e 12 2a 2d 87 22 20 |...\"...|l..*-." |
|000042d0| 5b 6f 6c 64 2d 62 75 66 | 66 65 72 20 63 6f 6c 6c |[old-buf|fer coll|
|000042e0| 65 63 74 69 6f 6e 20 63 | 6f 6c 6c 65 63 74 69 6f |ection c|ollectio|
|000042f0| 6e 20 65 6c 69 62 2d 63 | 6f 6c 6c 65 63 74 69 6f |n elib-c|ollectio|
|00004300| 6e 2d 3e 64 6c 6c 20 64 | 6c 6c 20 65 6c 69 62 2d |n->dll d|ll elib-|
|00004310| 63 6f 6c 6c 65 63 74 69 | 6f 6e 2d 3e 66 6f 6f 74 |collecti|on->foot|
|00004320| 65 72 20 66 6f 6f 74 65 | 72 20 65 6c 69 62 2d 63 |er foote|r elib-c|
|00004330| 6f 6c 6c 65 63 74 69 6f | 6e 2d 3e 62 75 66 66 65 |ollectio|n->buffe|
|00004340| 72 20 28 28 73 65 74 2d | 62 75 66 66 65 72 20 6f |r ((set-|buffer o|
|00004350| 6c 64 2d 62 75 66 66 65 | 72 29 29 20 64 6c 6c 2d |ld-buffe|r)) dll-|
|00004360| 6e 74 68 20 31 20 2d 31 | 20 6e 69 6c 20 70 6f 73 |nth 1 -1| nil pos|
|00004370| 20 65 6c 69 62 2d 77 72 | 61 70 70 65 72 2d 3e 73 | elib-wr|apper->s|
|00004380| 74 61 72 74 2d 6d 61 72 | 6b 65 72 20 32 20 64 6c |tart-mar|ker 2 dl|
|00004390| 6c 2d 6c 61 73 74 20 2d | 32 20 62 65 73 74 2d 67 |l-last -|2 best-g|
|000043a0| 75 65 73 73 20 65 6c 69 | 62 2d 61 62 73 20 64 69 |uess eli|b-abs di|
|000043b0| 73 74 61 6e 63 65 20 67 | 75 65 73 73 20 67 20 64 |stance g|uess g d|
|000043c0| 20 65 6c 69 62 2d 63 6f | 6c 6c 65 63 74 69 6f 6e | elib-co|llection|
|000043d0| 2d 3e 6c 61 73 74 2d 74 | 69 6e 20 64 6c 6c 2d 6e |->last-t|in dll-n|
|000043e0| 65 78 74 20 64 6c 6c 2d | 70 72 65 76 69 6f 75 73 |ext dll-|previous|
|000043f0| 5d 20 36 20 28 23 24 20 | 2e 20 31 36 34 30 32 29 |] 6 (#$ |. 16402)|
|00004400| 5d 29 0a 23 40 32 35 34 | 20 52 65 66 72 65 73 68 |]).#@254| Refresh|
|00004410| 20 61 6c 6c 20 63 6f 6f | 6b 69 65 73 20 69 6e 20 | all coo|kies in |
|00004420| 43 4f 4c 4c 45 43 54 49 | 4f 4e 2e 0a 0a 54 68 65 |COLLECTI|ON...The|
|00004430| 20 70 72 65 74 74 79 2d | 70 72 69 6e 74 65 72 20 | pretty-|printer |
|00004440| 74 68 61 74 20 77 61 73 | 20 73 70 65 63 69 66 69 |that was| specifi|
|00004450| 65 64 20 77 68 65 6e 20 | 74 68 65 20 43 4f 4c 4c |ed when |the COLL|
|00004460| 45 43 54 49 4f 4e 20 77 | 61 73 20 63 72 65 61 74 |ECTION w|as creat|
|00004470| 65 64 0a 77 69 6c 6c 20 | 62 65 20 63 61 6c 6c 65 |ed.will |be calle|
|00004480| 64 20 66 6f 72 20 61 6c | 6c 20 63 6f 6f 6b 69 65 |d for al|l cookie|
|00004490| 73 20 69 6e 20 43 4f 4c | 4c 45 43 54 49 4f 4e 2e |s in COL|LECTION.|
|000044a0| 0a 0a 4e 6f 74 65 20 74 | 68 61 74 20 74 69 6e 2d |..Note t|hat tin-|
|000044b0| 69 6e 76 61 6c 69 64 61 | 74 65 20 69 73 20 6d 6f |invalida|te is mo|
|000044c0| 72 65 20 65 66 66 69 63 | 69 65 6e 74 20 69 66 20 |re effic|ient if |
|000044d0| 6f 6e 6c 79 20 61 20 73 | 6d 61 6c 6c 0a 6e 75 6d |only a s|mall.num|
|000044e0| 62 65 72 20 6f 66 20 63 | 6f 6f 6b 69 65 73 20 6e |ber of c|ookies n|
|000044f0| 65 65 64 73 20 74 6f 20 | 62 65 20 72 65 66 72 65 |eeds to |be refre|
|00004500| 73 68 65 64 2e 1f 0a 28 | 64 65 66 61 6c 69 61 73 |shed...(|defalias|
|00004510| 20 27 63 6f 6c 6c 65 63 | 74 69 6f 6e 2d 72 65 66 | 'collec|tion-ref|
|00004520| 72 65 73 68 20 23 5b 28 | 63 6f 6c 6c 65 63 74 69 |resh #[(|collecti|
|00004530| 6f 6e 29 20 22 70 18 09 | 1a c3 5c 6e 21 1c c5 09 |on) "p..|..\n!...|
|00004540| 21 1e 06 c7 09 21 1e 08 | c9 5c 6e 21 71 88 ca 8e |!....!..|.\n!q...|
|00004550| cb 1e 0c cd ce 0c cf 5c | 22 d0 48 21 cd 0e 08 d0 |.......\|".H!....|
|00004560| 48 21 7c 88 cd 0e 08 d0 | 48 21 62 88 ce 0c cf 5c |H!|.....|H!b....\|
|00004570| 22 89 1e 11 0e 08 61 ac | a2 cd 0e 11 d0 48 21 60 |".....a.|.....H!`|
|00004580| cb 93 88 d2 09 21 d3 0e | 11 d0 48 21 21 88 d4 63 |.....!..|..H!!..c|
|00004590| 88 d5 0c 0e 11 5c 22 89 | 16 11 aa 59 2a cd 0e 08 |.....\".|...Y*...|
|000045a0| d0 48 21 60 cb 93 2e 06 | 87 22 20 5b 6f 6c 64 2d |.H!`....|." [old-|
|000045b0| 62 75 66 66 65 72 20 63 | 6f 6c 6c 65 63 74 69 6f |buffer c|ollectio|
|000045c0| 6e 20 63 6f 6c 6c 65 63 | 74 69 6f 6e 20 65 6c 69 |n collec|tion eli|
|000045d0| 62 2d 63 6f 6c 6c 65 63 | 74 69 6f 6e 2d 3e 64 6c |b-collec|tion->dl|
|000045e0| 6c 20 64 6c 6c 20 65 6c | 69 62 2d 63 6f 6c 6c 65 |l dll el|ib-colle|
|000045f0| 63 74 69 6f 6e 2d 3e 68 | 65 61 64 65 72 20 68 65 |ction->h|eader he|
|00004600| 61 64 65 72 20 65 6c 69 | 62 2d 63 6f 6c 6c 65 63 |ader eli|b-collec|
|00004610| 74 69 6f 6e 2d 3e 66 6f | 6f 74 65 72 20 66 6f 6f |tion->fo|oter foo|
|00004620| 74 65 72 20 65 6c 69 62 | 2d 63 6f 6c 6c 65 63 74 |ter elib|-collect|
|00004630| 69 6f 6e 2d 3e 62 75 66 | 66 65 72 20 28 28 73 65 |ion->buf|fer ((se|
|00004640| 74 2d 62 75 66 66 65 72 | 20 6f 6c 64 2d 62 75 66 |t-buffer| old-buf|
|00004650| 66 65 72 29 29 20 6e 69 | 6c 20 62 75 66 66 65 72 |fer)) ni|l buffer|
|00004660| 2d 72 65 61 64 2d 6f 6e | 6c 79 20 65 6c 69 62 2d |-read-on|ly elib-|
|00004670| 77 72 61 70 70 65 72 2d | 3e 73 74 61 72 74 2d 6d |wrapper-|>start-m|
|00004680| 61 72 6b 65 72 20 64 6c | 6c 2d 6e 74 68 20 31 20 |arker dl|l-nth 1 |
|00004690| 32 20 74 69 6e 20 65 6c | 69 62 2d 63 6f 6c 6c 65 |2 tin el|ib-colle|
|000046a0| 63 74 69 6f 6e 2d 3e 70 | 72 65 74 74 79 2d 70 72 |ction->p|retty-pr|
|000046b0| 69 6e 74 65 72 20 65 6c | 69 62 2d 77 72 61 70 70 |inter el|ib-wrapp|
|000046c0| 65 72 2d 3e 63 6f 6f 6b | 69 65 20 22 5c 6e 22 20 |er->cook|ie "\n" |
|000046d0| 64 6c 6c 2d 6e 65 78 74 | 5d 20 35 20 28 23 24 20 |dll-next|] 5 (#$ |
|000046e0| 2e 20 31 37 34 31 37 29 | 5d 29 0a 23 40 31 32 30 |. 17417)|]).#@120|
|000046f0| 20 52 65 66 72 65 73 68 | 20 73 6f 6d 65 20 63 6f | Refresh| some co|
|00004700| 6f 6b 69 65 73 2e 20 41 | 72 67 73 3a 20 43 4f 4c |okies. A|rgs: COL|
|00004710| 4c 45 43 54 49 4f 4e 20 | 26 72 65 73 74 20 54 49 |LECTION |&rest TI|
|00004720| 4e 53 2e 0a 54 68 65 20 | 70 72 65 74 74 79 2d 70 |NS..The |pretty-p|
|00004730| 72 69 6e 74 65 72 20 74 | 68 61 74 20 66 6f 72 20 |rinter t|hat for |
|00004740| 43 4f 4c 4c 45 43 54 49 | 4f 4e 20 77 69 6c 6c 20 |COLLECTI|ON will |
|00004750| 62 65 20 63 61 6c 6c 65 | 64 20 66 6f 72 20 61 6c |be calle|d for al|
|00004760| 6c 20 54 49 4e 53 2e 1f | 0a 28 64 65 66 61 6c 69 |l TINS..|.(defali|
|00004770| 61 73 20 27 74 69 6e 2d | 69 6e 76 61 6c 69 64 61 |as 'tin-|invalida|
|00004780| 74 65 20 23 5b 28 63 6f | 6c 6c 65 63 74 69 6f 6e |te #[(co|llection|
|00004790| 20 26 72 65 73 74 20 74 | 69 6e 73 29 20 22 70 18 | &rest t|ins) "p.|
|000047a0| 09 1a c3 5c 6e 21 1c c5 | 5c 6e 21 71 88 c6 8e 0e |...\n!..|\n!q....|
|000047b0| 07 ad 90 c8 09 0e 07 40 | 5c 22 88 0e 07 41 89 16 |.......@|\"...A..|
|000047c0| 07 ac 71 c9 2c 87 22 20 | 5b 6f 6c 64 2d 62 75 66 |..q.,." |[old-buf|
|000047d0| 66 65 72 20 63 6f 6c 6c | 65 63 74 69 6f 6e 20 63 |fer coll|ection c|
|000047e0| 6f 6c 6c 65 63 74 69 6f | 6e 20 65 6c 69 62 2d 63 |ollectio|n elib-c|
|000047f0| 6f 6c 6c 65 63 74 69 6f | 6e 2d 3e 64 6c 6c 20 64 |ollectio|n->dll d|
|00004800| 6c 6c 20 65 6c 69 62 2d | 63 6f 6c 6c 65 63 74 69 |ll elib-|collecti|
|00004810| 6f 6e 2d 3e 62 75 66 66 | 65 72 20 28 28 73 65 74 |on->buff|er ((set|
|00004820| 2d 62 75 66 66 65 72 20 | 6f 6c 64 2d 62 75 66 66 |-buffer |old-buff|
|00004830| 65 72 29 29 20 74 69 6e | 73 20 65 6c 69 62 2d 72 |er)) tin|s elib-r|
|00004840| 65 66 72 65 73 68 2d 74 | 69 6e 20 6e 69 6c 5d 20 |efresh-t|in nil] |
|00004850| 34 20 28 23 24 20 2e 20 | 31 38 31 36 31 29 5d 29 |4 (#$ . |18161)])|
|00004860| 0a 23 40 31 36 31 20 53 | 65 74 20 67 6f 61 6c 2d |.#@161 S|et goal-|
|00004870| 63 6f 6c 75 6d 6e 20 66 | 6f 72 20 43 4f 4c 4c 45 |column f|or COLLE|
|00004880| 43 54 49 4f 4e 2e 0a 41 | 72 67 73 3a 20 43 4f 4c |CTION..A|rgs: COL|
|00004890| 4c 45 43 54 49 4f 4e 20 | 47 4f 41 4c 2e 0a 67 6f |LECTION |GOAL..go|
|000048a0| 61 6c 2d 63 6f 6c 75 6d | 6e 20 69 73 20 6d 61 64 |al-colum|n is mad|
|000048b0| 65 20 62 75 66 66 65 72 | 2d 6c 6f 63 61 6c 2e 0a |e buffer|-local..|
|000048c0| 0a 54 68 65 72 65 20 77 | 69 6c 6c 20 65 76 65 6e |.There w|ill even|
|000048d0| 74 75 61 6c 6c 79 20 62 | 65 20 61 20 62 65 74 74 |tually b|e a bett|
|000048e0| 65 72 20 77 61 79 20 74 | 6f 20 73 70 65 63 69 66 |er way t|o specif|
|000048f0| 79 20 74 68 65 20 63 75 | 72 73 6f 72 20 70 6f 73 |y the cu|rsor pos|
|00004900| 69 74 69 6f 6e 2e 1f 0a | 28 64 65 66 61 6c 69 61 |ition...|(defalia|
|00004910| 73 20 27 63 6f 6c 6c 65 | 63 74 69 6f 6e 2d 73 65 |s 'colle|ction-se|
|00004920| 74 2d 67 6f 61 6c 2d 63 | 6f 6c 75 6d 6e 20 23 5b |t-goal-c|olumn #[|
|00004930| 28 63 6f 6c 6c 65 63 74 | 69 6f 6e 20 67 6f 61 6c |(collect|ion goal|
|00004940| 29 20 22 70 18 09 1a c3 | 5c 6e 21 1c c5 5c 6e 21 |) "p....|\n!..\n!|
|00004950| 71 88 c6 8e c7 c8 21 88 | 0e 09 89 16 08 2c 87 22 |q.....!.|.....,."|
|00004960| 20 5b 6f 6c 64 2d 62 75 | 66 66 65 72 20 63 6f 6c | [old-bu|ffer col|
|00004970| 6c 65 63 74 69 6f 6e 20 | 63 6f 6c 6c 65 63 74 69 |lection |collecti|
|00004980| 6f 6e 20 65 6c 69 62 2d | 63 6f 6c 6c 65 63 74 69 |on elib-|collecti|
|00004990| 6f 6e 2d 3e 64 6c 6c 20 | 64 6c 6c 20 65 6c 69 62 |on->dll |dll elib|
|000049a0| 2d 63 6f 6c 6c 65 63 74 | 69 6f 6e 2d 3e 62 75 66 |-collect|ion->buf|
|000049b0| 66 65 72 20 28 28 73 65 | 74 2d 62 75 66 66 65 72 |fer ((se|t-buffer|
|000049c0| 20 6f 6c 64 2d 62 75 66 | 66 65 72 29 29 20 6d 61 | old-buf|fer)) ma|
|000049d0| 6b 65 2d 6c 6f 63 61 6c | 2d 76 61 72 69 61 62 6c |ke-local|-variabl|
|000049e0| 65 20 67 6f 61 6c 2d 63 | 6f 6c 75 6d 6e 20 67 6f |e goal-c|olumn go|
|000049f0| 61 6c 5d 20 32 20 28 23 | 24 20 2e 20 31 38 35 33 |al] 2 (#|$ . 1853|
|00004a00| 35 29 5d 29 0a 23 40 31 | 36 35 20 4d 6f 76 65 20 |5)]).#@1|65 Move |
|00004a10| 70 6f 69 6e 74 20 74 6f | 20 74 68 65 20 41 52 47 |point to| the ARG|
|00004a20| 74 68 20 70 72 65 76 69 | 6f 75 73 20 63 6f 6f 6b |th previ|ous cook|
|00004a30| 69 65 2e 0a 44 6f 6e 27 | 74 20 6d 6f 76 65 20 69 |ie..Don'|t move i|
|00004a40| 66 20 77 65 20 61 72 65 | 20 61 74 20 74 68 65 20 |f we are| at the |
|00004a50| 66 69 72 73 74 20 63 6f | 6f 6b 69 65 2c 20 6f 72 |first co|okie, or|
|00004a60| 20 69 66 20 43 4f 4c 4c | 45 43 54 49 4f 4e 20 69 | if COLL|ECTION i|
|00004a70| 73 20 65 6d 70 74 79 2e | 0a 41 72 67 73 3a 20 43 |s empty.|.Args: C|
|00004a80| 4f 4c 4c 45 43 54 49 4f | 4e 20 50 4f 53 20 41 52 |OLLECTIO|N POS AR|
|00004a90| 47 2e 0a 52 65 74 75 72 | 6e 73 20 74 68 65 20 74 |G..Retur|ns the t|
|00004aa0| 69 6e 20 77 65 20 6d 6f | 76 65 20 74 6f 2e 1f 0a |in we mo|ve to...|
|00004ab0| 28 64 65 66 61 6c 69 61 | 73 20 27 74 69 6e 2d 67 |(defalia|s 'tin-g|
|00004ac0| 6f 74 6f 2d 70 72 65 76 | 69 6f 75 73 20 23 5b 28 |oto-prev|ious #[(|
|00004ad0| 63 6f 6c 6c 65 63 74 69 | 6f 6e 20 70 6f 73 20 61 |collecti|on pos a|
|00004ae0| 72 67 29 20 22 70 18 09 | 1a c3 5c 6e 21 1c c5 09 |rg) "p..|..\n!...|
|00004af0| 0e 06 c7 09 21 23 1e 08 | c9 5c 6e 21 71 88 ca 8e |....!#..|.\n!q...|
|00004b00| 0e 08 ad d6 0e 08 ab 95 | 0e 0b cc 56 ab 8f 0e 0b |........|...V....|
|00004b10| 53 16 0b cd 0c 0e 08 5c | 22 89 16 08 ac 6b 0e 08 |S......\|"....k..|
|00004b20| 09 1e 0e 89 1e 0f d0 0e | 0e 21 61 ae 87 0e 0f d1 |........|.!a.....|
|00004b30| 0e 0e 21 61 3f ad 82 0e | 0f 2a ac 86 d2 0c d3 5c |..!a?...|.*.....\|
|00004b40| 22 16 08 d4 0e 08 d5 48 | 21 62 88 0e 16 ab 85 d7 |"......H|!b......|
|00004b50| 0e 16 21 88 d8 09 0e 08 | 5c 22 88 0e 08 2d 87 22 |..!.....|\"...-."|
|00004b60| 20 5b 6f 6c 64 2d 62 75 | 66 66 65 72 20 63 6f 6c | [old-bu|ffer col|
|00004b70| 6c 65 63 74 69 6f 6e 20 | 63 6f 6c 6c 65 63 74 69 |lection |collecti|
|00004b80| 6f 6e 20 65 6c 69 62 2d | 63 6f 6c 6c 65 63 74 69 |on elib-|collecti|
|00004b90| 6f 6e 2d 3e 64 6c 6c 20 | 64 6c 6c 20 74 69 6e 2d |on->dll |dll tin-|
|00004ba0| 6c 6f 63 61 74 65 20 70 | 6f 73 20 65 6c 69 62 2d |locate p|os elib-|
|00004bb0| 63 6f 6c 6c 65 63 74 69 | 6f 6e 2d 3e 6c 61 73 74 |collecti|on->last|
|00004bc0| 2d 74 69 6e 20 74 69 6e | 20 65 6c 69 62 2d 63 6f |-tin tin| elib-co|
|00004bd0| 6c 6c 65 63 74 69 6f 6e | 2d 3e 62 75 66 66 65 72 |llection|->buffer|
|00004be0| 20 28 28 73 65 74 2d 62 | 75 66 66 65 72 20 6f 6c | ((set-b|uffer ol|
|00004bf0| 64 2d 62 75 66 66 65 72 | 29 29 20 61 72 67 20 30 |d-buffer|)) arg 0|
|00004c00| 20 64 6c 6c 2d 70 72 65 | 76 69 6f 75 73 20 74 6d | dll-pre|vious tm|
|00004c10| 70 63 6f 6c 6c 65 63 74 | 69 6f 6e 20 74 69 6e 20 |pcollect|ion tin |
|00004c20| 65 6c 69 62 2d 63 6f 6c | 6c 65 63 74 69 6f 6e 2d |elib-col|lection-|
|00004c30| 3e 68 65 61 64 65 72 20 | 65 6c 69 62 2d 63 6f 6c |>header |elib-col|
|00004c40| 6c 65 63 74 69 6f 6e 2d | 3e 66 6f 6f 74 65 72 20 |lection-|>footer |
|00004c50| 64 6c 6c 2d 6e 74 68 20 | 31 20 65 6c 69 62 2d 77 |dll-nth |1 elib-w|
|00004c60| 72 61 70 70 65 72 2d 3e | 73 74 61 72 74 2d 6d 61 |rapper->|start-ma|
|00004c70| 72 6b 65 72 20 32 20 67 | 6f 61 6c 2d 63 6f 6c 75 |rker 2 g|oal-colu|
|00004c80| 6d 6e 20 6d 6f 76 65 2d | 74 6f 2d 63 6f 6c 75 6d |mn move-|to-colum|
|00004c90| 6e 20 65 6c 69 62 2d 73 | 65 74 2d 63 6f 6c 6c 65 |n elib-s|et-colle|
|00004ca0| 63 74 69 6f 6e 2d 3e 6c | 61 73 74 2d 74 69 6e 5d |ction->l|ast-tin]|
|00004cb0| 20 36 20 28 23 24 20 2e | 20 31 38 39 35 35 29 5d | 6 (#$ .| 18955)]|
|00004cc0| 29 0a 23 40 31 32 32 20 | 4d 6f 76 65 20 70 6f 69 |).#@122 |Move poi|
|00004cd0| 6e 74 20 74 6f 20 74 68 | 65 20 41 52 47 74 68 20 |nt to th|e ARGth |
|00004ce0| 6e 65 78 74 20 63 6f 6f | 6b 69 65 2e 0a 44 6f 6e |next coo|kie..Don|
|00004cf0| 27 74 20 6d 6f 76 65 20 | 69 66 20 77 65 20 61 72 |'t move |if we ar|
|00004d00| 65 20 61 74 20 74 68 65 | 20 6c 61 73 74 20 63 6f |e at the| last co|
|00004d10| 6f 6b 69 65 2e 0a 41 72 | 67 73 3a 20 43 4f 4c 4c |okie..Ar|gs: COLL|
|00004d20| 45 43 54 49 4f 4e 20 50 | 4f 53 20 41 52 47 2e 0a |ECTION P|OS ARG..|
|00004d30| 52 65 74 75 72 6e 73 20 | 74 68 65 20 74 69 6e 2e |Returns |the tin.|
|00004d40| 1f 0a 28 64 65 66 61 6c | 69 61 73 20 27 74 69 6e |..(defal|ias 'tin|
|00004d50| 2d 67 6f 74 6f 2d 6e 65 | 78 74 20 23 5b 28 63 6f |-goto-ne|xt #[(co|
|00004d60| 6c 6c 65 63 74 69 6f 6e | 20 70 6f 73 20 61 72 67 |llection| pos arg|
|00004d70| 29 20 22 70 18 09 1a c3 | 5c 6e 21 1c c5 09 0e 06 |) "p....|\n!.....|
|00004d80| c7 09 21 23 1e 08 c9 5c | 6e 21 71 88 ca 8e 0e 08 |..!#...\|n!q.....|
|00004d90| ab 95 0e 0b cc 56 ab 8f | 0e 0b 53 16 0b cd 0c 0e |.....V..|..S.....|
|00004da0| 08 5c 22 89 16 08 ac 6b | 0e 08 09 1e 0e 89 1e 0f |.\"....k|........|
|00004db0| d0 0e 0e 21 61 ae 87 0e | 0f d1 0e 0e 21 61 3f ad |...!a...|....!a?.|
|00004dc0| 82 0e 0f 2a ac 86 d2 0c | d3 5c 22 16 08 d4 0e 08 |...*....|.\".....|
|00004dd0| d5 48 21 62 88 0e 16 ab | 85 d7 0e 16 21 88 d8 09 |.H!b....|....!...|
|00004de0| 0e 08 5c 22 88 0e 08 2d | 87 22 20 5b 6f 6c 64 2d |..\"...-|." [old-|
|00004df0| 62 75 66 66 65 72 20 63 | 6f 6c 6c 65 63 74 69 6f |buffer c|ollectio|
|00004e00| 6e 20 63 6f 6c 6c 65 63 | 74 69 6f 6e 20 65 6c 69 |n collec|tion eli|
|00004e10| 62 2d 63 6f 6c 6c 65 63 | 74 69 6f 6e 2d 3e 64 6c |b-collec|tion->dl|
|00004e20| 6c 20 64 6c 6c 20 74 69 | 6e 2d 6c 6f 63 61 74 65 |l dll ti|n-locate|
|00004e30| 20 70 6f 73 20 65 6c 69 | 62 2d 63 6f 6c 6c 65 63 | pos eli|b-collec|
|00004e40| 74 69 6f 6e 2d 3e 6c 61 | 73 74 2d 74 69 6e 20 74 |tion->la|st-tin t|
|00004e50| 69 6e 20 65 6c 69 62 2d | 63 6f 6c 6c 65 63 74 69 |in elib-|collecti|
|00004e60| 6f 6e 2d 3e 62 75 66 66 | 65 72 20 28 28 73 65 74 |on->buff|er ((set|
|00004e70| 2d 62 75 66 66 65 72 20 | 6f 6c 64 2d 62 75 66 66 |-buffer |old-buff|
|00004e80| 65 72 29 29 20 61 72 67 | 20 30 20 64 6c 6c 2d 6e |er)) arg| 0 dll-n|
|00004e90| 65 78 74 20 74 6d 70 63 | 6f 6c 6c 65 63 74 69 6f |ext tmpc|ollectio|
|00004ea0| 6e 20 74 69 6e 20 65 6c | 69 62 2d 63 6f 6c 6c 65 |n tin el|ib-colle|
|00004eb0| 63 74 69 6f 6e 2d 3e 68 | 65 61 64 65 72 20 65 6c |ction->h|eader el|
|00004ec0| 69 62 2d 63 6f 6c 6c 65 | 63 74 69 6f 6e 2d 3e 66 |ib-colle|ction->f|
|00004ed0| 6f 6f 74 65 72 20 64 6c | 6c 2d 6e 74 68 20 2d 32 |ooter dl|l-nth -2|
|00004ee0| 20 65 6c 69 62 2d 77 72 | 61 70 70 65 72 2d 3e 73 | elib-wr|apper->s|
|00004ef0| 74 61 72 74 2d 6d 61 72 | 6b 65 72 20 32 20 67 6f |tart-mar|ker 2 go|
|00004f00| 61 6c 2d 63 6f 6c 75 6d | 6e 20 6d 6f 76 65 2d 74 |al-colum|n move-t|
|00004f10| 6f 2d 63 6f 6c 75 6d 6e | 20 65 6c 69 62 2d 73 65 |o-column| elib-se|
|00004f20| 74 2d 63 6f 6c 6c 65 63 | 74 69 6f 6e 2d 3e 6c 61 |t-collec|tion->la|
|00004f30| 73 74 2d 74 69 6e 5d 20 | 36 20 28 23 24 20 2e 20 |st-tin] |6 (#$ . |
|00004f40| 31 39 36 35 36 29 5d 29 | 0a 23 40 34 33 20 4d 6f |19656)])|.#@43 Mo|
|00004f50| 76 65 20 70 6f 69 6e 74 | 20 74 6f 20 54 49 4e 2e |ve point| to TIN.|
|00004f60| 20 20 41 72 67 73 3a 20 | 43 4f 4c 4c 45 43 54 49 | Args: |COLLECTI|
|00004f70| 4f 4e 20 54 49 4e 2e 1f | 0a 28 64 65 66 61 6c 69 |ON TIN..|.(defali|
|00004f80| 61 73 20 27 74 69 6e 2d | 67 6f 74 6f 20 23 5b 28 |as 'tin-|goto #[(|
|00004f90| 63 6f 6c 6c 65 63 74 69 | 6f 6e 20 74 69 6e 29 20 |collecti|on tin) |
|00004fa0| 22 70 18 09 1a c3 5c 6e | 21 1c c5 5c 6e 21 71 88 |"p....\n|!..\n!q.|
|00004fb0| c6 8e c7 0e 08 c9 48 21 | 62 88 0e 5c 6e ab 85 cb |......H!|b..\n...|
|00004fc0| 0e 5c 6e 21 88 cc 09 0e | 08 5c 22 2c 87 22 20 5b |.\n!....|.\",." [|
|00004fd0| 6f 6c 64 2d 62 75 66 66 | 65 72 20 63 6f 6c 6c 65 |old-buff|er colle|
|00004fe0| 63 74 69 6f 6e 20 63 6f | 6c 6c 65 63 74 69 6f 6e |ction co|llection|
|00004ff0| 20 65 6c 69 62 2d 63 6f | 6c 6c 65 63 74 69 6f 6e | elib-co|llection|
|00005000| 2d 3e 64 6c 6c 20 64 6c | 6c 20 65 6c 69 62 2d 63 |->dll dl|l elib-c|
|00005010| 6f 6c 6c 65 63 74 69 6f | 6e 2d 3e 62 75 66 66 65 |ollectio|n->buffe|
|00005020| 72 20 28 28 73 65 74 2d | 62 75 66 66 65 72 20 6f |r ((set-|buffer o|
|00005030| 6c 64 2d 62 75 66 66 65 | 72 29 29 20 65 6c 69 62 |ld-buffe|r)) elib|
|00005040| 2d 77 72 61 70 70 65 72 | 2d 3e 73 74 61 72 74 2d |-wrapper|->start-|
|00005050| 6d 61 72 6b 65 72 20 74 | 69 6e 20 32 20 67 6f 61 |marker t|in 2 goa|
|00005060| 6c 2d 63 6f 6c 75 6d 6e | 20 6d 6f 76 65 2d 74 6f |l-column| move-to|
|00005070| 2d 63 6f 6c 75 6d 6e 20 | 65 6c 69 62 2d 73 65 74 |-column |elib-set|
|00005080| 2d 63 6f 6c 6c 65 63 74 | 69 6f 6e 2d 3e 6c 61 73 |-collect|ion->las|
|00005090| 74 2d 74 69 6e 5d 20 33 | 20 28 23 24 20 2e 20 32 |t-tin] 3| (#$ . 2|
|000050a0| 30 33 30 32 29 5d 29 0a | 23 40 35 36 36 20 53 65 |0302)]).|#@566 Se|
|000050b0| 6c 65 63 74 20 63 6f 6f | 6b 69 65 73 20 66 72 6f |lect coo|kies fro|
|000050c0| 6d 20 43 4f 4c 4c 45 43 | 54 49 4f 4e 20 75 73 69 |m COLLEC|TION usi|
|000050d0| 6e 67 20 50 52 45 44 49 | 43 41 54 45 2e 0a 52 65 |ng PREDI|CATE..Re|
|000050e0| 74 75 72 6e 20 61 20 6c | 69 73 74 20 6f 66 20 61 |turn a l|ist of a|
|000050f0| 6c 6c 20 73 65 6c 65 63 | 74 65 64 20 74 69 6e 73 |ll selec|ted tins|
|00005100| 2e 0a 0a 50 52 45 44 49 | 43 41 54 45 20 69 73 20 |...PREDI|CATE is |
|00005110| 61 20 66 75 6e 63 74 69 | 6f 6e 20 74 68 61 74 20 |a functi|on that |
|00005120| 74 61 6b 65 73 20 61 20 | 63 6f 6f 6b 69 65 20 61 |takes a |cookie a|
|00005130| 73 20 69 74 73 20 66 69 | 72 73 74 20 61 72 67 75 |s its fi|rst argu|
|00005140| 6d 65 6e 74 2e 0a 0a 54 | 68 65 20 74 69 6e 73 20 |ment...T|he tins |
|00005150| 6f 6e 20 74 68 65 20 72 | 65 74 75 72 6e 65 64 20 |on the r|eturned |
|00005160| 6c 69 73 74 20 77 69 6c | 6c 20 61 70 70 65 61 72 |list wil|l appear|
|00005170| 20 69 6e 20 74 68 65 20 | 73 61 6d 65 20 6f 72 64 | in the |same ord|
|00005180| 65 72 20 61 73 20 69 6e | 20 74 68 65 0a 62 75 66 |er as in| the.buf|
|00005190| 66 65 72 2e 20 20 59 6f | 75 20 73 68 6f 75 6c 64 |fer. Yo|u should|
|000051a0| 20 6e 6f 74 20 72 65 6c | 79 20 6f 6e 20 69 6e 20 | not rel|y on in |
|000051b0| 77 68 69 63 68 20 6f 72 | 64 65 72 20 50 52 45 44 |which or|der PRED|
|000051c0| 49 43 41 54 45 20 69 73 | 20 63 61 6c 6c 65 64 2e |ICATE is| called.|
|000051d0| 0a 0a 4e 6f 74 65 20 74 | 68 61 74 20 74 68 65 20 |..Note t|hat the |
|000051e0| 62 75 66 66 65 72 20 74 | 68 65 20 43 4f 4c 4c 45 |buffer t|he COLLE|
|000051f0| 43 54 49 4f 4e 20 69 73 | 20 64 69 73 70 6c 61 79 |CTION is| display|
|00005200| 65 64 20 69 6e 20 69 73 | 20 63 75 72 72 65 6e 74 |ed in is| current|
|00005210| 2d 62 75 66 66 65 72 0a | 77 68 65 6e 20 50 52 45 |-buffer.|when PRE|
|00005220| 44 49 43 41 54 45 20 69 | 73 20 63 61 6c 6c 65 64 |DICATE i|s called|
|00005230| 2e 20 20 49 66 20 50 52 | 45 44 49 43 41 54 45 20 |. If PR|EDICATE |
|00005240| 6d 75 73 74 20 72 65 73 | 74 6f 72 65 20 63 75 72 |must res|tore cur|
|00005250| 72 65 6e 74 2d 62 75 66 | 66 65 72 20 69 66 0a 69 |rent-buf|fer if.i|
|00005260| 74 20 63 68 61 6e 67 65 | 73 20 69 74 2e 0a 0a 49 |t change|s it...I|
|00005270| 66 20 6d 6f 72 65 20 74 | 68 61 6e 20 74 77 6f 20 |f more t|han two |
|00005280| 61 72 67 75 6d 65 6e 74 | 73 20 61 72 65 20 67 69 |argument|s are gi|
|00005290| 76 65 6e 20 74 6f 20 63 | 6f 6c 6c 65 63 74 69 6f |ven to c|ollectio|
|000052a0| 6e 2d 63 6f 6c 6c 65 63 | 74 2d 74 69 6e 20 74 68 |n-collec|t-tin th|
|000052b0| 65 20 72 65 6d 61 69 6e | 69 6e 67 0a 61 72 67 75 |e remain|ing.argu|
|000052c0| 6d 65 6e 74 73 20 77 69 | 6c 6c 20 62 65 20 70 61 |ments wi|ll be pa|
|000052d0| 73 73 65 64 20 74 6f 20 | 50 52 45 44 49 43 41 54 |ssed to |PREDICAT|
|000052e0| 45 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 63 |E...(def|alias 'c|
|000052f0| 6f 6c 6c 65 63 74 69 6f | 6e 2d 63 6f 6c 6c 65 63 |ollectio|n-collec|
|00005300| 74 2d 74 69 6e 20 23 5b | 28 63 6f 6c 6c 65 63 74 |t-tin #[|(collect|
|00005310| 69 6f 6e 20 70 72 65 64 | 69 63 61 74 65 20 26 72 |ion pred|icate &r|
|00005320| 65 73 74 20 70 72 65 64 | 69 63 61 74 65 2d 61 72 |est pred|icate-ar|
|00005330| 67 73 29 20 22 70 18 09 | 1a c3 5c 6e 21 1c c5 09 |gs) "p..|..\n!...|
|00005340| 21 1e 06 c7 0c c8 5c 22 | 1e 09 ca 1e 0b cc 5c 6e |!.....\"|......\n|
|00005350| 21 71 88 cd 8e 0e 09 0e | 06 61 ac 9f ce 0e 0f d0 |!q......|.a......|
|00005360| 0e 09 d1 48 21 0e 12 23 | ab 87 0e 09 0e 0b 42 16 |...H!..#|......B.|
|00005370| 0b d3 0c 0e 09 5c 22 89 | 16 09 aa 5c 5c 0e 0b 2e |.....\".|...\\...|
|00005380| 07 87 22 20 5b 6f 6c 64 | 2d 62 75 66 66 65 72 20 |.." [old|-buffer |
|00005390| 63 6f 6c 6c 65 63 74 69 | 6f 6e 20 63 6f 6c 6c 65 |collecti|on colle|
|000053a0| 63 74 69 6f 6e 20 65 6c | 69 62 2d 63 6f 6c 6c 65 |ction el|ib-colle|
|000053b0| 63 74 69 6f 6e 2d 3e 64 | 6c 6c 20 64 6c 6c 20 65 |ction->d|ll dll e|
|000053c0| 6c 69 62 2d 63 6f 6c 6c | 65 63 74 69 6f 6e 2d 3e |lib-coll|ection->|
|000053d0| 68 65 61 64 65 72 20 68 | 65 61 64 65 72 20 64 6c |header h|eader dl|
|000053e0| 6c 2d 6e 74 68 20 2d 32 | 20 74 69 6e 20 6e 69 6c |l-nth -2| tin nil|
|000053f0| 20 72 65 73 75 6c 74 20 | 65 6c 69 62 2d 63 6f 6c | result |elib-col|
|00005400| 6c 65 63 74 69 6f 6e 2d | 3e 62 75 66 66 65 72 20 |lection-|>buffer |
|00005410| 28 28 73 65 74 2d 62 75 | 66 66 65 72 20 6f 6c 64 |((set-bu|ffer old|
|00005420| 2d 62 75 66 66 65 72 29 | 29 20 61 70 70 6c 79 20 |-buffer)|) apply |
|00005430| 70 72 65 64 69 63 61 74 | 65 20 65 6c 69 62 2d 77 |predicat|e elib-w|
|00005440| 72 61 70 70 65 72 2d 3e | 63 6f 6f 6b 69 65 20 32 |rapper->|cookie 2|
|00005450| 20 70 72 65 64 69 63 61 | 74 65 2d 61 72 67 73 20 | predica|te-args |
|00005460| 64 6c 6c 2d 70 72 65 76 | 69 6f 75 73 5d 20 36 20 |dll-prev|ious] 6 |
|00005470| 28 23 24 20 2e 20 32 30 | 36 35 34 29 5d 29 0a 23 |(#$ . 20|654)]).#|
|00005480| 40 35 37 35 20 53 65 6c | 65 63 74 20 63 6f 6f 6b |@575 Sel|ect cook|
|00005490| 69 65 73 20 66 72 6f 6d | 20 43 4f 4c 4c 45 43 54 |ies from| COLLECT|
|000054a0| 49 4f 4e 20 75 73 69 6e | 67 20 50 52 45 44 49 43 |ION usin|g PREDIC|
|000054b0| 41 54 45 2e 0a 52 65 74 | 75 72 6e 20 61 20 6c 69 |ATE..Ret|urn a li|
|000054c0| 73 74 20 6f 66 20 61 6c | 6c 20 73 65 6c 65 63 74 |st of al|l select|
|000054d0| 65 64 20 63 6f 6f 6b 69 | 65 73 2e 0a 0a 50 52 45 |ed cooki|es...PRE|
|000054e0| 44 49 43 41 54 45 20 69 | 73 20 61 20 66 75 6e 63 |DICATE i|s a func|
|000054f0| 74 69 6f 6e 20 74 68 61 | 74 20 74 61 6b 65 73 20 |tion tha|t takes |
|00005500| 61 20 63 6f 6f 6b 69 65 | 20 61 73 20 69 74 73 20 |a cookie| as its |
|00005510| 66 69 72 73 74 20 61 72 | 67 75 6d 65 6e 74 2e 0a |first ar|gument..|
|00005520| 0a 54 68 65 20 63 6f 6f | 6b 69 65 73 20 6f 6e 20 |.The coo|kies on |
|00005530| 74 68 65 20 72 65 74 75 | 72 6e 65 64 20 6c 69 73 |the retu|rned lis|
|00005540| 74 20 77 69 6c 6c 20 61 | 70 70 65 61 72 20 69 6e |t will a|ppear in|
|00005550| 20 74 68 65 20 73 61 6d | 65 20 6f 72 64 65 72 20 | the sam|e order |
|00005560| 61 73 20 69 6e 0a 74 68 | 65 20 62 75 66 66 65 72 |as in.th|e buffer|
|00005570| 2e 20 20 59 6f 75 20 73 | 68 6f 75 6c 64 20 6e 6f |. You s|hould no|
|00005580| 74 20 72 65 6c 79 20 6f | 6e 20 69 6e 20 77 68 69 |t rely o|n in whi|
|00005590| 63 68 20 6f 72 64 65 72 | 20 50 52 45 44 49 43 41 |ch order| PREDICA|
|000055a0| 54 45 20 69 73 0a 63 61 | 6c 6c 65 64 2e 0a 0a 4e |TE is.ca|lled...N|
|000055b0| 6f 74 65 20 74 68 61 74 | 20 74 68 65 20 62 75 66 |ote that| the buf|
|000055c0| 66 65 72 20 74 68 65 20 | 43 4f 4c 4c 45 43 54 49 |fer the |COLLECTI|
|000055d0| 4f 4e 20 69 73 20 64 69 | 73 70 6c 61 79 65 64 20 |ON is di|splayed |
|000055e0| 69 6e 20 69 73 20 63 75 | 72 72 65 6e 74 2d 62 75 |in is cu|rrent-bu|
|000055f0| 66 66 65 72 0a 77 68 65 | 6e 20 50 52 45 44 49 43 |ffer.whe|n PREDIC|
|00005600| 41 54 45 20 69 73 20 63 | 61 6c 6c 65 64 2e 20 20 |ATE is c|alled. |
|00005610| 49 66 20 50 52 45 44 49 | 43 41 54 45 20 6d 75 73 |If PREDI|CATE mus|
|00005620| 74 20 72 65 73 74 6f 72 | 65 20 63 75 72 72 65 6e |t restor|e curren|
|00005630| 74 2d 62 75 66 66 65 72 | 20 69 66 0a 69 74 20 63 |t-buffer| if.it c|
|00005640| 68 61 6e 67 65 73 20 69 | 74 2e 0a 0a 49 66 20 6d |hanges i|t...If m|
|00005650| 6f 72 65 20 74 68 61 6e | 20 74 77 6f 20 61 72 67 |ore than| two arg|
|00005660| 75 6d 65 6e 74 73 20 61 | 72 65 20 67 69 76 65 6e |uments a|re given|
|00005670| 20 74 6f 20 63 6f 6c 6c | 65 63 74 69 6f 6e 2d 63 | to coll|ection-c|
|00005680| 6f 6c 6c 65 63 74 2d 63 | 6f 6f 6b 69 65 20 74 68 |ollect-c|ookie th|
|00005690| 65 0a 72 65 6d 61 69 6e | 69 6e 67 20 61 72 67 75 |e.remain|ing argu|
|000056a0| 6d 65 6e 74 73 20 77 69 | 6c 6c 20 62 65 20 70 61 |ments wi|ll be pa|
|000056b0| 73 73 65 64 20 74 6f 20 | 50 52 45 44 49 43 41 54 |ssed to |PREDICAT|
|000056c0| 45 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 63 |E...(def|alias 'c|
|000056d0| 6f 6c 6c 65 63 74 69 6f | 6e 2d 63 6f 6c 6c 65 63 |ollectio|n-collec|
|000056e0| 74 2d 63 6f 6f 6b 69 65 | 20 23 5b 28 63 6f 6c 6c |t-cookie| #[(coll|
|000056f0| 65 63 74 69 6f 6e 20 70 | 72 65 64 69 63 61 74 65 |ection p|redicate|
|00005700| 20 26 72 65 73 74 20 70 | 72 65 64 69 63 61 74 65 | &rest p|redicate|
|00005710| 2d 61 72 67 73 29 20 22 | 70 18 09 1a c3 5c 6e 21 |-args) "|p....\n!|
|00005720| 1c c5 09 21 1e 06 c7 0c | c8 5c 22 1e 09 ca 1e 0b |...!....|.\".....|
|00005730| cc 5c 6e 21 71 88 cd 8e | 0e 09 0e 06 61 ac a3 ce |.\n!q...|....a...|
|00005740| 0e 0f d0 0e 09 d1 48 21 | 0e 12 23 ab 8b d0 0e 09 |......H!|..#.....|
|00005750| d1 48 21 0e 0b 42 16 0b | d3 0c 0e 09 5c 22 89 16 |.H!..B..|....\"..|
|00005760| 09 aa 58 0e 0b 2e 07 87 | 22 20 5b 6f 6c 64 2d 62 |..X.....|" [old-b|
|00005770| 75 66 66 65 72 20 63 6f | 6c 6c 65 63 74 69 6f 6e |uffer co|llection|
|00005780| 20 63 6f 6c 6c 65 63 74 | 69 6f 6e 20 65 6c 69 62 | collect|ion elib|
|00005790| 2d 63 6f 6c 6c 65 63 74 | 69 6f 6e 2d 3e 64 6c 6c |-collect|ion->dll|
|000057a0| 20 64 6c 6c 20 65 6c 69 | 62 2d 63 6f 6c 6c 65 63 | dll eli|b-collec|
|000057b0| 74 69 6f 6e 2d 3e 68 65 | 61 64 65 72 20 68 65 61 |tion->he|ader hea|
|000057c0| 64 65 72 20 64 6c 6c 2d | 6e 74 68 20 2d 32 20 74 |der dll-|nth -2 t|
|000057d0| 69 6e 20 6e 69 6c 20 72 | 65 73 75 6c 74 20 65 6c |in nil r|esult el|
|000057e0| 69 62 2d 63 6f 6c 6c 65 | 63 74 69 6f 6e 2d 3e 62 |ib-colle|ction->b|
|000057f0| 75 66 66 65 72 20 28 28 | 73 65 74 2d 62 75 66 66 |uffer ((|set-buff|
|00005800| 65 72 20 6f 6c 64 2d 62 | 75 66 66 65 72 29 29 20 |er old-b|uffer)) |
|00005810| 61 70 70 6c 79 20 70 72 | 65 64 69 63 61 74 65 20 |apply pr|edicate |
|00005820| 65 6c 69 62 2d 77 72 61 | 70 70 65 72 2d 3e 63 6f |elib-wra|pper->co|
|00005830| 6f 6b 69 65 20 32 20 70 | 72 65 64 69 63 61 74 65 |okie 2 p|redicate|
|00005840| 2d 61 72 67 73 20 64 6c | 6c 2d 70 72 65 76 69 6f |-args dl|l-previo|
|00005850| 75 73 5d 20 36 20 28 23 | 24 20 2e 20 32 31 36 33 |us] 6 (#|$ . 2163|
|00005860| 37 29 5d 29 0a 23 40 32 | 34 30 20 53 6f 72 74 20 |7)]).#@2|40 Sort |
|00005870| 74 68 65 20 63 6f 6f 6b | 69 65 73 20 69 6e 20 43 |the cook|ies in C|
|00005880| 4f 4c 4c 45 43 54 49 4f | 4e 2c 20 73 74 61 62 6c |OLLECTIO|N, stabl|
|00005890| 79 2c 20 63 6f 6d 70 61 | 72 69 6e 67 20 65 6c 65 |y, compa|ring ele|
|000058a0| 6d 65 6e 74 73 20 75 73 | 69 6e 67 20 50 52 45 44 |ments us|ing PRED|
|000058b0| 49 43 41 54 45 2e 0a 50 | 52 45 44 49 43 41 54 45 |ICATE..P|REDICATE|
|000058c0| 20 69 73 20 63 61 6c 6c | 65 64 20 77 69 74 68 20 | is call|ed with |
|000058d0| 74 77 6f 20 63 6f 6f 6b | 69 65 73 2c 20 61 6e 64 |two cook|ies, and|
|000058e0| 20 73 68 6f 75 6c 64 20 | 72 65 74 75 72 6e 20 54 | should |return T|
|000058f0| 0a 69 66 20 74 68 65 20 | 66 69 72 73 74 20 63 6f |.if the |first co|
|00005900| 6f 6b 69 65 20 69 73 20 | 22 6c 65 73 73 22 20 74 |okie is |"less" t|
|00005910| 68 61 6e 20 74 68 65 20 | 73 65 63 6f 6e 64 2e 0a |han the |second..|
|00005920| 0a 41 6c 6c 20 63 6f 6f | 6b 69 65 73 20 77 69 6c |.All coo|kies wil|
|00005930| 6c 20 62 65 20 72 65 66 | 72 65 73 68 65 64 20 77 |l be ref|reshed w|
|00005940| 68 65 6e 20 74 68 65 20 | 73 6f 72 74 20 69 73 20 |hen the |sort is |
|00005950| 63 6f 6d 70 6c 65 74 65 | 2e 1f 0a 28 64 65 66 61 |complete|...(defa|
|00005960| 6c 69 61 73 20 27 63 6f | 6f 6b 69 65 2d 73 6f 72 |lias 'co|okie-sor|
|00005970| 74 20 23 5b 28 63 6f 6c | 6c 65 63 74 69 6f 6e 20 |t #[(col|lection |
|00005980| 70 72 65 64 69 63 61 74 | 65 29 20 22 c0 09 c2 5c |predicat|e) "...\|
|00005990| 22 88 c3 09 c4 c5 09 21 | 0e 06 5c 22 c7 09 21 88 |"......!|..\"..!.|
|000059a0| 5c 22 87 22 20 5b 65 6c | 69 62 2d 73 65 74 2d 63 |\"." [el|ib-set-c|
|000059b0| 6f 6c 6c 65 63 74 69 6f | 6e 2d 3e 6c 61 73 74 2d |ollectio|n->last-|
|000059c0| 74 69 6e 20 63 6f 6c 6c | 65 63 74 69 6f 6e 20 6e |tin coll|ection n|
|000059d0| 69 6c 20 63 6f 6c 6c 65 | 63 74 69 6f 6e 2d 61 70 |il colle|ction-ap|
|000059e0| 70 65 6e 64 2d 63 6f 6f | 6b 69 65 73 20 73 6f 72 |pend-coo|kies sor|
|000059f0| 74 20 63 6f 6c 6c 65 63 | 74 69 6f 6e 2d 6c 69 73 |t collec|tion-lis|
|00005a00| 74 2d 63 6f 6f 6b 69 65 | 73 20 70 72 65 64 69 63 |t-cookie|s predic|
|00005a10| 61 74 65 20 63 6f 6c 6c | 65 63 74 69 6f 6e 2d 63 |ate coll|ection-c|
|00005a20| 6c 65 61 72 5d 20 35 20 | 28 23 24 20 2e 20 32 32 |lear] 5 |(#$ . 22|
|00005a30| 36 33 35 29 5d 29 0a 23 | 40 39 39 20 52 65 74 75 |635)]).#|@99 Retu|
|00005a40| 72 6e 20 74 68 65 20 62 | 75 66 66 65 72 20 74 68 |rn the b|uffer th|
|00005a50| 61 74 20 69 73 20 61 73 | 73 6f 63 69 61 74 65 64 |at is as|sociated|
|00005a60| 20 77 69 74 68 20 43 4f | 4c 4c 45 43 54 49 4f 4e | with CO|LLECTION|
|00005a70| 2e 0a 52 65 74 75 72 6e | 73 20 6e 69 6c 20 69 66 |..Return|s nil if|
|00005a80| 20 74 68 65 20 62 75 66 | 66 65 72 20 68 61 73 20 | the buf|fer has |
|00005a90| 62 65 65 6e 20 64 65 6c | 65 74 65 64 2e 1f 0a 28 |been del|eted...(|
|00005aa0| 64 65 66 61 6c 69 61 73 | 20 27 63 6f 6c 6c 65 63 |defalias| 'collec|
|00005ab0| 74 69 6f 6e 2d 62 75 66 | 66 65 72 20 23 5b 28 63 |tion-buf|fer #[(c|
|00005ac0| 6f 6c 6c 65 63 74 69 6f | 6e 29 20 22 c0 09 21 1a |ollectio|n) "..!.|
|00005ad0| c3 5c 6e 21 ad 81 5c 6e | 29 87 22 20 5b 65 6c 69 |.\n!..\n|)." [eli|
|00005ae0| 62 2d 63 6f 6c 6c 65 63 | 74 69 6f 6e 2d 3e 62 75 |b-collec|tion->bu|
|00005af0| 66 66 65 72 20 63 6f 6c | 6c 65 63 74 69 6f 6e 20 |ffer col|lection |
|00005b00| 62 75 66 20 62 75 66 66 | 65 72 2d 6e 61 6d 65 5d |buf buff|er-name]|
|00005b10| 20 32 20 28 23 24 20 2e | 20 32 33 31 30 30 29 5d | 2 (#$ .| 23100)]|
|00005b20| 29 0a | |). | |
+--------+-------------------------+-------------------------+--------+--------+